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