From eaebf6a04fadbbfb8b4233fba41e02cb5d7fc679 Mon Sep 17 00:00:00 2001 From: des 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') diff --git a/libexec/rtld-elf/debug.h b/libexec/rtld-elf/debug.h index 3708df6..98fdfb4 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.1