]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
r24047: With -Wmissing-prototypes these two always generate warnings. They
authorVolker Lendecke <vlendec@samba.org>
Wed, 25 Jul 2007 18:45:57 +0000 (18:45 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:28:59 +0000 (12:28 -0500)
should be properly prototyped. For now, gloss over the warning.
(This used to be commit 2137158260cc9677bf9652a3d85334b0d7512b7b)

source3/utils/net_dns.c

index fed5fa556ea5bd764cedbbef55e72b1434a35fa2..6163f53c6e54120896405436bce85393fc44b1ba 100644 (file)
 
 #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;