diff options
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 { |