svn commit: samba r24047 - in branches: SAMBA_3_2/source/utils
SAMBA_3_2_0/source/utils
vlendec at samba.org
vlendec at samba.org
Wed Jul 25 18:45:59 GMT 2007
Author: vlendec
Date: 2007-07-25 18:45:57 +0000 (Wed, 25 Jul 2007)
New Revision: 24047
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=24047
Log:
With -Wmissing-prototypes these two always generate warnings. They
should be properly prototyped. For now, gloss over the warning.
Modified:
branches/SAMBA_3_2/source/utils/net_dns.c
branches/SAMBA_3_2_0/source/utils/net_dns.c
Changeset:
Modified: branches/SAMBA_3_2/source/utils/net_dns.c
===================================================================
--- branches/SAMBA_3_2/source/utils/net_dns.c 2007-07-25 18:39:10 UTC (rev 24046)
+++ branches/SAMBA_3_2/source/utils/net_dns.c 2007-07-25 18:45:57 UTC (rev 24047)
@@ -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 @@
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;
Modified: branches/SAMBA_3_2_0/source/utils/net_dns.c
===================================================================
--- branches/SAMBA_3_2_0/source/utils/net_dns.c 2007-07-25 18:39:10 UTC (rev 24046)
+++ branches/SAMBA_3_2_0/source/utils/net_dns.c 2007-07-25 18:45:57 UTC (rev 24047)
@@ -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 @@
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;
More information about the samba-cvs
mailing list