Enable -Wformat checking for debug_printf().
This commit is contained in:
parent
112103bcfe
commit
1b393ac3a4
@ -36,7 +36,9 @@
|
||||
#error "This file must be compiled with GCC"
|
||||
#endif
|
||||
|
||||
extern void debug_printf(const char *, ...);
|
||||
#include <sys/cdefs.h>
|
||||
|
||||
extern void debug_printf(const char *, ...) __printflike(1, 2);
|
||||
extern int debug;
|
||||
|
||||
#ifdef DEBUG
|
||||
|
Loading…
Reference in New Issue
Block a user