From 5e066d5ee1b2e8d15a7af80313eb2b622a511b00 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 25 Jul 2007 18:45:57 +0000 Subject: r24047: With -Wmissing-prototypes these two always generate warnings. They should be properly prototyped. For now, gloss over the warning. (This used to be commit 2137158260cc9677bf9652a3d85334b0d7512b7b) --- source3/utils/net_dns.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'source3/utils/net_dns.c') diff --git a/source3/utils/net_dns.c b/source3/utils/net_dns.c index fed5fa556e..6163f53c6e 100644 --- a/source3/utils/net_dns.c +++ b/source3/utils/net_dns.c @@ -26,6 +26,14 @@ #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 in_addr *iplist, size_t num_addrs ); + /********************************************************************* *********************************************************************/ @@ -159,6 +167,12 @@ int get_my_ip_address( struct in_addr **ips ) 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