]> Git Repo - qemu.git/blobdiff - hw/adb.c
Replace gcc variadic macro extension with C99 version
[qemu.git] / hw / adb.c
index 61a3cdf210c233874c552e95e339b92cefa6c1d2..c57aeaac4a20bb9da5cde7f26415559c4cb867d9 100644 (file)
--- a/hw/adb.c
+++ b/hw/adb.c
 //#define DEBUG_ADB
 
 #ifdef DEBUG_ADB
-#define ADB_DPRINTF(fmt, args...) \
-do { printf("ADB: " fmt , ##args); } while (0)
+#define ADB_DPRINTF(fmt, ...) \
+do { printf("ADB: " fmt , ## __VA_ARGS__); } while (0)
 #else
-#define ADB_DPRINTF(fmt, args...)
+#define ADB_DPRINTF(fmt, ...)
 #endif
 
 /* ADB commands */
This page took 0.023376 seconds and 4 git commands to generate.