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/actionparser.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/actionparser.h')
-rw-r--r-- | src/actionparser.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/actionparser.h b/src/actionparser.h index def4c8f..6fa6136 100644 --- a/src/actionparser.h +++ b/src/actionparser.h @@ -29,7 +29,6 @@ X(SEARCH) \ X(HELP) -typedef enum ParseErrors ParseError; enum ParseErrors { PERR_NOERR = 0, #define X(ACTION) \ @@ -38,8 +37,8 @@ enum ParseErrors { #undef X PERR_UNKONW_ACTION, }; +typedef enum ParseErrors ParseError; -typedef enum CkActions CkAction; enum CkActions { CK_WRONG_ACTION, #define X(ACTION) \ @@ -47,14 +46,15 @@ enum CkActions { CK_ACTIONS #undef X }; +typedef enum CkActions CkAction; -typedef enum ActionParserResults ActionParseResult; enum ActionParserResults { APR_OK, APR_ERR, APR_HELP, APR_VERSION }; +typedef enum ActionParserResults ActionParseResult; typedef struct UserOptions UserOpt; struct UserOptions { |