From a6b2b4b2a4095d2f95419df986378e54432c2d71 Mon Sep 17 00:00:00 2001 From: gramanas Date: Fri, 26 Oct 2018 13:52:32 +0300 Subject: Small corrections --- src/confparser.h | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/confparser.h') diff --git a/src/confparser.h b/src/confparser.h index 261dc72..94541c6 100644 --- a/src/confparser.h +++ b/src/confparser.h @@ -30,20 +30,8 @@ enum ConfingVariables { }; typedef enum ConfingVariables ConfVar; -enum ConfigParserResults { - CPR_OK, - CPR_NO_CONFIG_FILE, - CPR_WRONG_CONFIG, -#define X(var, str, name) \ - CPR_WRONG_##var, - CONFIG_VARIABLES_TABLE -#undef X -}; -typedef enum ConfigParserResults ConfigParserResult; - typedef struct ConfigValues Conf; struct ConfigValues { - ConfigParserResult result; #define X(var, str, name) char* var; CONFIG_VARIABLES_TABLE #undef X -- cgit v1.2.3