From 5d4247ae7434adae87b265a362a9fa19b4ca557c Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 19 Sep 2012 15:35:15 +0200 Subject: s3-net: move out some prototypes to net_dns.h. Guenther --- source3/utils/net_dns.c | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'source3/utils/net_dns.c') diff --git a/source3/utils/net_dns.c b/source3/utils/net_dns.c index 559c14def4..2948e7cd3c 100644 --- a/source3/utils/net_dns.c +++ b/source3/utils/net_dns.c @@ -22,16 +22,9 @@ #include "includes.h" #include "utils/net.h" #include "../lib/addns/dns.h" +#include "utils/net_dns.h" #if defined(WITH_DNS_UPDATES) -/* - * Silly prototype to get rid of a warning - */ - -DNS_ERROR DoDNSUpdate(char *pszServerName, - const char *pszDomainName, const char *pszHostName, - const struct sockaddr_storage *sslist, - size_t num_addrs ); /********************************************************************* *********************************************************************/ @@ -182,12 +175,6 @@ int get_my_ip_address( struct sockaddr_storage **pp_ss ) return count; } -/* - * Silly prototype to get rid of a warning - */ - -DNS_ERROR do_gethostbyname(const char *server, const char *host); - DNS_ERROR do_gethostbyname(const char *server, const char *host) { struct dns_connection *conn; -- cgit