diff options
author | Volker Lendecke <vlendec@samba.org> | 2007-07-25 18:45:57 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:28:59 -0500 |
commit | 5e066d5ee1b2e8d15a7af80313eb2b622a511b00 (patch) | |
tree | 6decf55c19d4b9d67a5a2f47d1a83c33c6ea9bf0 | |
parent | e5cdc454aadf2d3d93d80524d2c84990f239aaa0 (diff) | |
download | samba-5e066d5ee1b2e8d15a7af80313eb2b622a511b00.tar.gz samba-5e066d5ee1b2e8d15a7af80313eb2b622a511b00.tar.bz2 samba-5e066d5ee1b2e8d15a7af80313eb2b622a511b00.zip |
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)
-rw-r--r-- | source3/utils/net_dns.c | 14 |
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; |