mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-16 06:52:27 +00:00
Enable -Wformat checking for debug_printf().
This commit is contained in:
parent
ed5e1b5537
commit
0edd3ca778
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=50930
|
@ -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 a new issue