/[hurd]/hurd-l4/wortel/output.h
ViewVC logotype

Diff of /hurd-l4/wortel/output.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by marcus, Fri Sep 19 17:49:59 2003 UTC revision 1.5 by neal, Wed Nov 17 16:21:37 2004 UTC
# Line 73  extern int output_debug; Line 73  extern int output_debug;
73    
74    
75  /* Print a debug message.  */  /* Print a debug message.  */
76  #define debug(...) do { if (output_debug) printf (__VA_ARGS__); } while (0)  #define debug(fmt, ...)                                 \
77      ({                                                    \
78        extern const char program_name[];                   \
79        if (output_debug)                                   \
80          printf ("%s:%s: " fmt, program_name,              \
81                  __FUNCTION__, __VA_ARGS__);               \
82      })
83    
84  #endif  /* _OUTPUT_H */  #endif  /* _OUTPUT_H */

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26