Format string checking for logger().
This commit is contained in:
parent
a438ac911e
commit
784db4e70d
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue