From 21c92f735ff52ff98b50f7f9d8e8ab9c46dad557 Mon Sep 17 00:00:00 2001 From: gramanas Date: Sat, 17 Nov 2018 19:49:52 +0200 Subject: Finish restructure and simplify include graph --- src/clparser.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/clparser.c') diff --git a/src/clparser.c b/src/clparser.c index 081c981..5b0852b 100644 --- a/src/clparser.c +++ b/src/clparser.c @@ -8,8 +8,6 @@ * GPLv3 (see LICENCE for the full notice) * * -------------------------------------------------------------------------- */ -#include "ckutil.h" -#include "clparser.h" #include "confparser.h" #include "ckinfo.h" #include "ckerrlog.h" @@ -106,7 +104,7 @@ static int parse_vals(UserOpt *opt) { } switch (opt->action) { -#define X(ACTION, MIN, MAX) \ +#define X(ACTION, MIN, MAX) \ case CKA_##ACTION: \ return parse_##ACTION(opt); CK_ACTIONS @@ -118,7 +116,7 @@ static int parse_vals(UserOpt *opt) { CkAction parser_get_action(const char *name, char *actionName) { int i; -#define X(ACTION, MIN, MAX) \ +#define X(ACTION, MIN, MAX) \ for (i = 1; i < atoi(str##ACTION[0]) + 1; i++) { \ if (strcmp(name, str##ACTION[i]) == 0) { \ if (actionName) { \ -- cgit v1.2.3