]> git.proxmox.com Git - qemu.git/blobdiff - hw/arm_gic.c
Replace gcc variadic macro extension with C99 version
[qemu.git] / hw / arm_gic.c
index 2f484e191e0f505b7539860922ff4b3ac6315cce..cb774d6e20e5c0ff92530b54246388cdb8ef0c6a 100644 (file)
 //#define DEBUG_GIC
 
 #ifdef DEBUG_GIC
-#define DPRINTF(fmt, args...) \
-do { printf("arm_gic: " fmt , ##args); } while (0)
+#define DPRINTF(fmt, ...) \
+do { printf("arm_gic: " fmt , ## __VA_ARGS__); } while (0)
 #else
-#define DPRINTF(fmt, args...) do {} while(0)
+#define DPRINTF(fmt, ...) do {} while(0)
 #endif
 
 #ifdef NVIC