From owner-svn-src-all@FreeBSD.ORG Sun Sep 15 00:07:52 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 9B4971C3; Sun, 15 Sep 2013 00:07:52 +0000 (UTC) (envelope-from des@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 88AF32372; Sun, 15 Sep 2013 00:07:52 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r8F07qGX072163; Sun, 15 Sep 2013 00:07:52 GMT (envelope-from des@svn.freebsd.org) Received: (from des@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r8F07q4B072161; Sun, 15 Sep 2013 00:07:52 GMT (envelope-from des@svn.freebsd.org) Message-Id: <201309150007.r8F07q4B072161@svn.freebsd.org> From: Dag-Erling Smørgrav Date: Sun, 15 Sep 2013 00:07:52 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r255578 - head/contrib/unbound/util X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Sep 2013 00:07:52 -0000 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 */