aboutsummaryrefslogtreecommitdiffstats
path: root/libgamma_const_of_subpixel_order.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgamma_const_of_subpixel_order.c')
-rw-r--r--libgamma_const_of_subpixel_order.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libgamma_const_of_subpixel_order.c b/libgamma_const_of_subpixel_order.c
index 7f69bea..b320e9d 100644
--- a/libgamma_const_of_subpixel_order.c
+++ b/libgamma_const_of_subpixel_order.c
@@ -15,8 +15,9 @@ const char *
libgamma_const_of_subpixel_order(int order)
{
switch (order) {
-#define X(CONST, NAME)\
- case CONST: return #CONST;
+#define X(CONST, ...)\
+ case CONST:\
+ return #CONST;
LIST_SUBPIXEL_ORDERS(X)
#undef X
default: