svn commit: r255578 - head/contrib/unbound/util
Dag-Erling Smørgrav
des at FreeBSD.org
Sun Sep 15 00:07:52 UTC 2013
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 */
More information about the svn-src-head
mailing list