* samba/lib/netmask.c: Add get_netmask() prototype for the dummy

version.
This commit is contained in:
Pavel Roskin 2005-11-11 06:19:08 +00:00
parent 4d7182a39f
commit 89eb1e232b
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2005-11-11 Pavel Roskin <proski@gnu.org>
* samba/lib/netmask.c: Add get_netmask() prototype for the dummy
version.
2005-11-10 Pavel Roskin <proski@gnu.org>
* samba/lib/util_sock.c: Fix warnings on 64-bit systems.

View File

@ -330,6 +330,7 @@ this one is for AIX
#else /* a dummy version */
struct in_addr; /* it may not have been declared before */
int get_netmask(struct in_addr *ipaddr, struct in_addr *nmask);
int get_netmask(struct in_addr *ipaddr, struct in_addr *nmask)
{
return -1;