mirror of
https://github.com/samba-team/samba.git
synced 2025-03-05 20:58:40 +03:00
r24047: With -Wmissing-prototypes these two always generate warnings. They
should be properly prototyped. For now, gloss over the warning.
This commit is contained in:
parent
a2ecc34aa4
commit
2137158260
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user