summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/utils/net_dns.c14
1 files changed, 14 insertions, 0 deletions
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;