From: Mark Andrews Date: Wed, 28 Aug 2002 07:04:48 +0000 (+0000) Subject: copy_server_list(), add_nameserver() and create_search_list() are private X-Git-Tag: v9.2.3rc1~104^2~363 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=52bf8cbb014887d599c75237a301a188a3ff5460;p=thirdparty%2Fbind9.git copy_server_list(), add_nameserver() and create_search_list() are private functions. --- diff --git a/bin/dig/dighost.c b/bin/dig/dighost.c index b8262dfd68c..e8e4f829728 100644 --- a/bin/dig/dighost.c +++ b/bin/dig/dighost.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: dighost.c,v 1.251 2002/08/27 04:53:38 marka Exp $ */ +/* $Id: dighost.c,v 1.252 2002/08/28 07:04:48 marka Exp $ */ /* * Notice to programmers: Do not use this code as an example of how to @@ -369,7 +369,7 @@ addr2af(int lwresaddrtype) * Create a copy of the server list from the lwres configuration structure. * The dest list must have already had ISC_LIST_INIT applied. */ -void +static void copy_server_list(lwres_conf_t *confdata, dig_serverlist_t *dest) { dig_server_t *newsrv; char tmp[sizeof("ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255")]; @@ -414,7 +414,7 @@ set_nameserver(char *opt) { ISC_LIST_INITANDAPPEND(server_list, srv, link); } -isc_result_t +static isc_result_t add_nameserver(lwres_conf_t *confdata, char *addr, int af) { int i = confdata->nsnext; @@ -691,7 +691,7 @@ make_searchlist_entry(char *domain) { return (search); } -void +static void create_search_list(lwres_conf_t *confdata) { int i; dig_searchlist_t *search;