summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_fw.c
diff options
context:
space:
mode:
authorgpalmer <gpalmer@FreeBSD.org>1996-05-08 04:29:08 +0000
committergpalmer <gpalmer@FreeBSD.org>1996-05-08 04:29:08 +0000
commitc79cc630ede15ddb8641deef1f5256d6296ae31b (patch)
tree273ffb1ff648a1d501fa53a37f56803c19399e9f /sys/netinet/ip_fw.c
parent9f795376b3921c04e5abe4bc29b1905e78ae2db2 (diff)
downloadFreeBSD-src-c79cc630ede15ddb8641deef1f5256d6296ae31b.zip
FreeBSD-src-c79cc630ede15ddb8641deef1f5256d6296ae31b.tar.gz
Clean up various compiler warnings. Most (if not all) were benign
Reviewed by: bde
Diffstat (limited to 'sys/netinet/ip_fw.c')
-rw-r--r--sys/netinet/ip_fw.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/sys/netinet/ip_fw.c b/sys/netinet/ip_fw.c
index 903a9f3..2dee52a 100644
--- a/sys/netinet/ip_fw.c
+++ b/sys/netinet/ip_fw.c
@@ -11,7 +11,7 @@
*
* This software is provided ``AS IS'' without any warranties of any kind.
*
- * $Id: ip_fw.c,v 1.34 1996/04/03 13:52:13 phk Exp $
+ * $Id: ip_fw.c,v 1.35 1996/05/06 20:31:04 phk Exp $
*/
/*
@@ -73,6 +73,11 @@ static void ipfw_report __P((char *txt, int rule, struct ip *ip));
static ip_fw_chk_t *old_chk_ptr;
static ip_fw_ctl_t *old_ctl_ptr;
+static int ip_fw_chk __P((struct ip **pip, int hlen, struct ifnet *rif,
+ int dir, struct mbuf **m));
+static int ip_fw_ctl __P((int stage, struct mbuf **mm));
+
+
/*
* Returns 1 if the port is matched by the vector, 0 otherwise
*/
@@ -228,7 +233,7 @@ ipfw_report(char *txt, int rule, struct ip *ip)
* Returns 1 if it should be accepted, 0 otherwise.
*/
-int
+static int
ip_fw_chk(pip, hlen, rif, dir, m)
struct ip **pip;
struct ifnet *rif;
@@ -570,7 +575,7 @@ check_ipfw_struct(m)
return frwl;
}
-int
+static int
ip_fw_ctl(stage, mm)
int stage;
struct mbuf **mm;
OpenPOWER on IntegriCloud