summaryrefslogtreecommitdiffstats
path: root/contrib/unbound
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2013-09-15 00:07:51 +0000
committerdes <des@FreeBSD.org>2013-09-15 00:07:51 +0000
commitaafb05a3bcadf34af0465fcf05f3fc918053ed4f (patch)
tree1959a0b572defc0a12a774a7384abffcd75bba77 /contrib/unbound
parentf5cbd4e274ad51ad3805bcbafdff71eaa8d5699a (diff)
downloadFreeBSD-src-aafb05a3bcadf34af0465fcf05f3fc918053ed4f.zip
FreeBSD-src-aafb05a3bcadf34af0465fcf05f3fc918053ed4f.tar.gz
Move prototypes into header.
Approved by: re (blanket)
Diffstat (limited to 'contrib/unbound')
-rw-r--r--contrib/unbound/util/config_file.c10
-rw-r--r--contrib/unbound/util/config_file.h10
2 files changed, 10 insertions, 10 deletions
diff --git a/contrib/unbound/util/config_file.c b/contrib/unbound/util/config_file.c
index b946f0d..ebfb795 100644
--- a/contrib/unbound/util/config_file.c
+++ b/contrib/unbound/util/config_file.c
@@ -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);
diff --git a/contrib/unbound/util/config_file.h b/contrib/unbound/util/config_file.h
index 69595cb..e790cec 100644
--- a/contrib/unbound/util/config_file.h
+++ b/contrib/unbound/util/config_file.h
@@ -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 */
OpenPOWER on IntegriCloud