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