4 #ifndef MAX_DEBUG_LEVEL
5 # define MAX_DEBUG_LEVEL LOG_NOTICE
8 /* First include stdio.h, which may contain the prototype for the external dprintf.
9 * We do not want that. We redefine dprintf to our local implementation. */
11 #define dprintf(level, args...) \
12 ( { if ((level) <= MAX_DEBUG_LEVEL) my_dprintf((level), args); } )
17 extern void my_dprintf
__P((int, const char *, const char *, ...));
19 #endif /* MY_DEBUG_H_ */