aboutsummaryrefslogtreecommitdiffstats
path: root/hw/sh_intc.h
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2009-05-13 17:53:17 +0000
committerBlue Swirl <blauwirbel@gmail.com>2009-05-13 17:53:17 +0000
commit001faf3269541f0231482e0fccc846f62f8930b2 (patch)
treea5a7b0143f3fd9d71e42eb03c4967f8763ec3501 /hw/sh_intc.h
parent4cfce484c5d7e514c23689f3194055b5463d6054 (diff)
Replace gcc variadic macro extension with C99 version
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/sh_intc.h')
-rw-r--r--hw/sh_intc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/sh_intc.h b/hw/sh_intc.h
index a9750ae9b..c117d6fb8 100644
--- a/hw/sh_intc.h
+++ b/hw/sh_intc.h
@@ -18,7 +18,7 @@ struct intc_group {
intc_enum enum_ids[32];
};
-#define INTC_GROUP(enum_id, ids...) { enum_id, { ids } }
+#define INTC_GROUP(enum_id, ...) { enum_id, { __VA_ARGS__ } }
struct intc_mask_reg {
unsigned long set_reg, clr_reg, reg_width;