commit a0210e7
Michael Forney
·
2013-07-19 08:14:22 +0000 UTC
parent 5f668c4
Don't use named variadic macros
1 files changed,
+3,
-3
+3,
-3
1@@ -38,10 +38,10 @@
2
3 #define ARRAY_LENGTH(array) (sizeof (array) / sizeof (array)[0])
4 #if ENABLE_DEBUG
5-# define DEBUG(format, args...) \
6- fprintf(stderr, "# %s: " format, __func__, ## args)
7+# define DEBUG(format, ...) \
8+ fprintf(stderr, "# %s: " format, __func__, ## __VA_ARGS__)
9 #else
10-# define DEBUG(format, args...)
11+# define DEBUG(format, ...)
12 #endif
13
14 struct wld_font_context