summaryrefslogtreecommitdiff
path: root/source3/lib/netmask.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-10-17 17:41:13 +0000
committerJeremy Allison <jra@samba.org>1998-10-17 17:41:13 +0000
commitfc62d6bf368c950e1e51bc42771cce8b299df42c (patch)
treedd94abd7d29279fe57050b702203538eaf345916 /source3/lib/netmask.c
parent676cac1e42ecbc30fe6ded64751163c1c33466d1 (diff)
downloadsamba-fc62d6bf368c950e1e51bc42771cce8b299df42c.tar.gz
samba-fc62d6bf368c950e1e51bc42771cce8b299df42c.tar.bz2
samba-fc62d6bf368c950e1e51bc42771cce8b299df42c.zip
Small tidyups for gcc in 'preen' mode....
Jeremy. (This used to be commit 60dc1a4a00a22088d33369588b0d5eb292cf084a)
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