aboutsummaryrefslogtreecommitdiffstats
path: root/libgamma_name_of_method.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--libgamma_name_of_method.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libgamma_name_of_method.c b/libgamma_name_of_method.c
index 3e1843d..e671d51 100644
--- a/libgamma_name_of_method.c
+++ b/libgamma_name_of_method.c
@@ -13,8 +13,9 @@ const char *
libgamma_name_of_method(int method)
{
switch (method) {
-#define X(CONST, NAME, CNAME, ENABLED)\
- case CONST: return #NAME;
+#define X(CONST, NAME, ...)\
+ case CONST:\
+ return #NAME;
LIST_METHODS(X)
#undef X
default: