Move prototypes into header.

Approved by:	re (blanket)
This commit is contained in:
Dag-Erling Smørgrav 2013-09-15 00:07:51 +00:00
parent 439fafc748
commit f41b5392e6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=255578
2 changed files with 10 additions and 10 deletions

View File

@ -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);

View File

@ -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 */