From 6063a29f3bb969a208308c4fdcc2651206945fd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20=C3=85strand?= Date: Mon, 29 Jul 2002 08:10:11 +0000 Subject: [PATCH] make the using of variable arguments to function-type macros consistent with the C99 standard git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@70 423420c4-83ab-492f-b58f-81f9feb106b5 --- rdesktop.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rdesktop.h b/rdesktop.h index e4bd2a8..bd52cf4 100644 --- a/rdesktop.h +++ b/rdesktop.h @@ -32,9 +32,9 @@ #endif #if defined(WITH_DEBUG_KBD) -#define DEBUG_KBD(args...) fprintf(stderr, args); +#define DEBUG_KBD(...) fprintf(stderr, __VA_ARGS__); #else -#define DEBUG_KBD(args...) +#define DEBUG_KBD(...) #endif #define STRNCPY(dst,src,n) { strncpy(dst,src,n-1); dst[n-1] = 0; }