From f16a2dfec05b81a72cc73b0a1ff783fd8c5f757b Mon Sep 17 00:00:00 2001 From: stefanf Date: Mon, 17 Jul 2006 20:39:08 +0000 Subject: 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(-) (limited to 'lib/libypclnt') diff --git a/lib/libypclnt/ypclnt.h b/lib/libypclnt/ypclnt.h index 476981c..16efd97 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 -- cgit v1.1