commit a0210e70cd5ae40329d6427b149e55f9108f34bf
parent 5f668c47887f56c63b32c9be539f0118c36061d9
Author: Michael Forney <mforney@mforney.org>
Date: Fri, 19 Jul 2013 01:14:22 -0700
Don't use named variadic macros
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/wld-private.h b/wld-private.h
@@ -38,10 +38,10 @@
#define ARRAY_LENGTH(array) (sizeof (array) / sizeof (array)[0])
#if ENABLE_DEBUG
-# define DEBUG(format, args...) \
- fprintf(stderr, "# %s: " format, __func__, ## args)
+# define DEBUG(format, ...) \
+ fprintf(stderr, "# %s: " format, __func__, ## __VA_ARGS__)
#else
-# define DEBUG(format, args...)
+# define DEBUG(format, ...)
#endif
struct wld_font_context