From 1b393ac3a45f9d1ee77aa59f71f4a6a98a1be73d Mon Sep 17 00:00:00 2001 From: jdp Date: Sat, 4 Sep 1999 20:36:27 +0000 Subject: Enable -Wformat checking for debug_printf(). --- libexec/rtld-elf/debug.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libexec/rtld-elf/debug.h') 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 + +extern void debug_printf(const char *, ...) __printflike(1, 2); extern int debug; #ifdef DEBUG -- cgit v1.1