aboutsummaryrefslogtreecommitdiffstats
path: root/src/clparser.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/clparser.c')
-rw-r--r--src/clparser.c6
1 files changed, 2 insertions, 4 deletions
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) { \