From d29c929e444d69ea7d4ce146f67f4c8df36baa95 Mon Sep 17 00:00:00 2001 From: Anastasis Grammenos Date: Thu, 25 Oct 2018 12:38:34 +0300 Subject: Don't forward declare enumerations --- src/confparser.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/confparser.h') diff --git a/src/confparser.h b/src/confparser.h index 75201e4..261dc72 100644 --- a/src/confparser.h +++ b/src/confparser.h @@ -22,15 +22,14 @@ X(vc_dir, " version_control_dir = %s ", "Version Control directory") \ X(scrt_dir, " secret_dir = %s " , "Secret directory") -typedef enum ConfingVariables ConfVar; enum ConfingVariables { CV_NO_VAL_OR_COMMENT, #define X(var, str, name) CV_##var, CONFIG_VARIABLES_TABLE #undef X }; +typedef enum ConfingVariables ConfVar; -typedef enum ConfigParserResults ConfigParserResult; enum ConfigParserResults { CPR_OK, CPR_NO_CONFIG_FILE, @@ -40,6 +39,7 @@ enum ConfigParserResults { CONFIG_VARIABLES_TABLE #undef X }; +typedef enum ConfigParserResults ConfigParserResult; typedef struct ConfigValues Conf; struct ConfigValues { -- cgit v1.2.3