diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2016-12-02 18:26:10 +0000 |
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2016-12-02 18:26:10 +0000 |
| commit | d6c9cdd0ddc0eff9cd320ce887bf6f8e822bfaac (patch) | |
| tree | af2f18ab1164da179973ce9da3ad5cd3de182b18 /lib/command_parse.y | |
| parent | b5a1e9ef5c7b1e505e6d82ea9c542748005afe63 (diff) | |
lib: Add back prototypes for lexer helper funcs
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/command_parse.y')
| -rw-r--r-- | lib/command_parse.y | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/command_parse.y b/lib/command_parse.y index a5e582c73b..339e6be8f9 100644 --- a/lib/command_parse.y +++ b/lib/command_parse.y @@ -58,6 +58,9 @@ typedef union CMD_YYSTYPE CMD_YYSTYPE; /* pointers to copy of command docstring */ char *docstr_start, *docstr; }; + + extern void set_lexer_string (yyscan_t *scn, const char *string); + extern void cleanup_lexer (yyscan_t *scn); } /* functionality this unit exports */ @@ -100,9 +103,6 @@ typedef union CMD_YYSTYPE CMD_YYSTYPE; %code { - extern void set_lexer_string (yyscan_t *scn, const char *string); - extern void cleanup_lexer (yyscan_t *scn); - /* bison declarations */ void cmd_yyerror (struct parser_ctx *ctx, char const *msg); |
