Enable -Wformat checking for debug_printf().

This commit is contained in:
John Polstra 1999-09-04 20:36:27 +00:00
parent ed5e1b5537
commit 0edd3ca778
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=50930

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