1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

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 2137158260)
This commit is contained in:
Volker Lendecke 2007-07-25 18:45:57 +00:00 committed by Gerald (Jerry) Carter
parent e5cdc454aa
commit 5e066d5ee1

View File

@ -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;