From 0d36dbbf03a836ab6bc0d964176015dc12e68b47 Mon Sep 17 00:00:00 2001 From: David Phillips Date: Sun, 11 Aug 2019 19:44:31 +1200 Subject: Remove warning about non-ISO C feature --- debug.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debug.h b/debug.h index ce92cec..c19151a 100644 --- a/debug.h +++ b/debug.h @@ -2,9 +2,9 @@ #define DEBUG_H #ifdef DEBUG -#define debug(x...) printf(x) +#define debug(...) printf(__VA_ARGS__) #else -#define debug(x...) +#define debug(...) #endif #endif /* DEBUG_H */ -- cgit v1.1