diff options
author | jdp <jdp@FreeBSD.org> | 1999-09-04 20:36:27 +0000 |
---|---|---|
committer | jdp <jdp@FreeBSD.org> | 1999-09-04 20:36:27 +0000 |
commit | 1b393ac3a45f9d1ee77aa59f71f4a6a98a1be73d (patch) | |
tree | d256918f5d7924720308c67754c2a0a340ab71ee /libexec | |
parent | 112103bcfe414915f77b443be195fe90abb9f642 (diff) | |
download | FreeBSD-src-1b393ac3a45f9d1ee77aa59f71f4a6a98a1be73d.zip FreeBSD-src-1b393ac3a45f9d1ee77aa59f71f4a6a98a1be73d.tar.gz |
Enable -Wformat checking for debug_printf().
Diffstat (limited to 'libexec')
-rw-r--r-- | libexec/rtld-elf/debug.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libexec/rtld-elf/debug.h b/libexec/rtld-elf/debug.h index 8d57ec7..b356338 100644 --- a/libexec/rtld-elf/debug.h +++ b/libexec/rtld-elf/debug.h @@ -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 |