]> git.proxmox.com Git - qemu.git/blobdiff - hw/parallel.c
Replace gcc variadic macro extension with C99 version
[qemu.git] / hw / parallel.c
index 0abd0a2c085398627542b69f75b766a09cad95eb..dd2eedab7909eb83557d485f914b4dbefa61eeaf 100644 (file)
@@ -30,9 +30,9 @@
 //#define DEBUG_PARALLEL
 
 #ifdef DEBUG_PARALLEL
-#define pdebug(fmt, arg...) printf("pp: " fmt, ##arg)
+#define pdebug(fmt, ...) printf("pp: " fmt, ## __VA_ARGS__)
 #else
-#define pdebug(fmt, arg...) ((void)0)
+#define pdebug(fmt, ...) ((void)0)
 #endif
 
 #define PARA_REG_DATA 0