Date: Sun, 15 Sep 2013 00:07:52 +0000 (UTC) From: Dag-Erling Smørgrav <des@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r255578 - head/contrib/unbound/util Message-ID: <201309150007.r8F07q4B072161@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: des Date: Sun Sep 15 00:07:51 2013 New Revision: 255578 URL: http://svnweb.freebsd.org/changeset/base/255578 Log: Move prototypes into header. Approved by: re (blanket) Modified: head/contrib/unbound/util/config_file.c head/contrib/unbound/util/config_file.h Modified: head/contrib/unbound/util/config_file.c ============================================================================== --- head/contrib/unbound/util/config_file.c Sun Sep 15 00:05:16 2013 (r255577) +++ head/contrib/unbound/util/config_file.c Sun Sep 15 00:07:51 2013 (r255578) @@ -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); Modified: head/contrib/unbound/util/config_file.h ============================================================================== --- head/contrib/unbound/util/config_file.h Sun Sep 15 00:05:16 2013 (r255577) +++ head/contrib/unbound/util/config_file.h Sun Sep 15 00:07:51 2013 (r255578) @@ -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 */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309150007.r8F07q4B072161>