From f16a2dfec05b81a72cc73b0a1ff783fd8c5f757b Mon Sep 17 00:00:00 2001 From: stefanf Date: Mon, 17 Jul 2006 20:39:08 +0000 Subject: [PATCH] Use variadic macros that comply with C99. Keep the GCC-style ones if DEBUG is defined and GCC is used. --- lib/libypclnt/ypclnt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libypclnt/ypclnt.h b/lib/libypclnt/ypclnt.h index 476981c15d15..16efd97c4c0a 100644 --- a/lib/libypclnt/ypclnt.h +++ b/lib/libypclnt/ypclnt.h @@ -56,7 +56,7 @@ int ypclnt_passwd(ypclnt_t *, const struct passwd *, const char *); #if defined(DEBUG) && defined(__GNUC__) #define YPCLNT_DEBUG(fmt...) warnx(__FUNCTION__ ": " fmt, ##fmt) #else -#define YPCLNT_DEBUG(fmt...) +#define YPCLNT_DEBUG(...) #endif #endif