Enable -Wformat checking for debug_printf().

This commit is contained in:
jdp 1999-09-04 20:36:27 +00:00
parent 112103bcfe
commit 1b393ac3a4

View File

@ -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