From 1dc39023f8decb51e2433a1e336da5537888467f Mon Sep 17 00:00:00 2001 From: Dag-Erling Smørgrav Date: Tue, 28 Mar 2006 18:26:47 +0000 Subject: Use C99's varadic macro syntax instead of gcc's. --- libexec/rtld-elf/debug.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libexec/rtld-elf/debug.h') diff --git a/libexec/rtld-elf/debug.h b/libexec/rtld-elf/debug.h index 3708df62cbe7..98fdfb4929c9 100644 --- a/libexec/rtld-elf/debug.h +++ b/libexec/rtld-elf/debug.h @@ -45,9 +45,9 @@ extern void debug_printf(const char *, ...) __printflike(1, 2); extern int debug; #ifdef DEBUG -#define dbg(format, args...) debug_printf(format , ## args) +#define dbg(...) debug_printf(__VA_ARGS__) #else -#define dbg(format, args...) ((void) 0) +#define dbg(...) ((void) 0) #endif #ifndef COMPAT_32BIT -- cgit v1.3