Format string checking for logger().

This commit is contained in:
Guus Sliepen 2003-07-12 20:24:04 +00:00
parent a438ac911e
commit 784db4e70d

View file

@ -25,7 +25,7 @@ enum {
extern int debug_level;
extern void openlogger(const char *, int);
extern void logger(int, const char *, ...);
extern void logger(int, const char *, ...) __attribute__ ((format(printf, 2, 3)));
extern void closelogger(void);
#define ifdebug(l) if(debug_level >= DEBUG_##l)