summaryrefslogtreecommitdiff
path: root/source3/lib/netmask.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/netmask.c')
-rw-r--r--source3/lib/netmask.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/lib/netmask.c b/source3/lib/netmask.c
index d9bc06c47a..6d71058375 100644
--- a/source3/lib/netmask.c
+++ b/source3/lib/netmask.c
@@ -51,6 +51,11 @@
#include <sys/sockio.h>
#endif
+/*
+ * Prototype for gcc in fussy mode.
+ */
+
+int get_netmask(struct in_addr *ipaddr, struct in_addr *nmask);
/****************************************************************************
get the netmask address for a local interface