mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Move prototypes into header.
Approved by: re (blanket)
This commit is contained in:
parent
439fafc748
commit
f41b5392e6
2 changed files with 10 additions and 10 deletions
|
|
@ -59,16 +59,6 @@
|
|||
|
||||
/** global config during parsing */
|
||||
struct config_parser_state* cfg_parser = 0;
|
||||
/** lex in file */
|
||||
extern FILE* ub_c_in;
|
||||
/** lex out file */
|
||||
extern FILE* ub_c_out;
|
||||
/** the yacc lex generated parse function */
|
||||
int ub_c_parse(void);
|
||||
/** the lexer function */
|
||||
int ub_c_lex(void);
|
||||
/** wrap function */
|
||||
int ub_c_wrap(void);
|
||||
|
||||
/** init ports possible for use */
|
||||
static void init_outgoing_availports(int* array, int num);
|
||||
|
|
|
|||
|
|
@ -632,6 +632,16 @@ struct config_parser_state {
|
|||
|
||||
/** global config parser object used during config parsing */
|
||||
extern struct config_parser_state* cfg_parser;
|
||||
/** lex in file */
|
||||
extern FILE* ub_c_in;
|
||||
/** lex out file */
|
||||
extern FILE* ub_c_out;
|
||||
/** the yacc lex generated parse function */
|
||||
int ub_c_parse(void);
|
||||
/** the lexer function */
|
||||
int ub_c_lex(void);
|
||||
/** wrap function */
|
||||
int ub_c_wrap(void);
|
||||
/** parsing helpers: print error with file and line numbers */
|
||||
void ub_c_error(const char* msg);
|
||||
/** parsing helpers: print error with file and line numbers */
|
||||
|
|
|
|||
Loading…
Reference in a new issue