]> git.proxmox.com Git - qemu.git/blobdiff - hw/sbi.c
Replace gcc variadic macro extension with C99 version
[qemu.git] / hw / sbi.c
index 9c41f536578df39717b9bfb3cb6f36006a562fde..1993eec5c756fe6f6047ddd312dc60e2cb6f97d2 100644 (file)
--- a/hw/sbi.c
+++ b/hw/sbi.c
 //#define DEBUG_IRQ
 
 #ifdef DEBUG_IRQ
-#define DPRINTF(fmt, args...) \
-do { printf("IRQ: " fmt , ##args); } while (0)
+#define DPRINTF(fmt, ...)                                       \
+    do { printf("IRQ: " fmt , ## __VA_ARGS__); } while (0)
 #else
-#define DPRINTF(fmt, args...)
+#define DPRINTF(fmt, ...)
 #endif
 
 #define MAX_CPUS 16