]> git.proxmox.com Git - qemu.git/blobdiff - hw/apb_pci.c
Replace gcc variadic macro extension with C99 version
[qemu.git] / hw / apb_pci.c
index 36ecb5584b53c4ffdad611a1bf8104763db4fa5d..d6ce9f4aef51f6f8d937afc9302f1f57b65dabe5 100644 (file)
 //#define DEBUG_APB
 
 #ifdef DEBUG_APB
-#define APB_DPRINTF(fmt, args...) \
-do { printf("APB: " fmt , ##args); } while (0)
+#define APB_DPRINTF(fmt, ...) \
+do { printf("APB: " fmt , ## __VA_ARGS__); } while (0)
 #else
-#define APB_DPRINTF(fmt, args...)
+#define APB_DPRINTF(fmt, ...)
 #endif
 
 typedef target_phys_addr_t pci_addr_t;