summaryrefslogtreecommitdiffstats
path: root/libexec/rtld-elf/debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/rtld-elf/debug.h')
-rw-r--r--libexec/rtld-elf/debug.h4
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
OpenPOWER on IntegriCloud