diff options
author | Anastasis Grammenos <anastasis.gramm2@gmail.com> | 2018-10-25 12:38:34 +0300 |
---|---|---|
committer | Anastasis Grammenos <anastasis.gramm2@gmail.com> | 2018-10-25 12:38:34 +0300 |
commit | d29c929e444d69ea7d4ce146f67f4c8df36baa95 (patch) | |
tree | 7f79ce61f0826b151ee4a1108c4b307afc953d15 /src/confparser.h | |
parent | 041274604961bc5633c70f9c3db90f46117c508e (diff) | |
download | ck-d29c929e444d69ea7d4ce146f67f4c8df36baa95.tar.gz ck-d29c929e444d69ea7d4ce146f67f4c8df36baa95.tar.bz2 ck-d29c929e444d69ea7d4ce146f67f4c8df36baa95.zip |
Don't forward declare enumerations
Diffstat (limited to 'src/confparser.h')
-rw-r--r-- | src/confparser.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 { |