summaryrefslogtreecommitdiffstats
path: root/sys/netipx/ipx_ip.c
diff options
context:
space:
mode:
authoreivind <eivind@FreeBSD.org>1998-02-09 06:11:36 +0000
committereivind <eivind@FreeBSD.org>1998-02-09 06:11:36 +0000
commitd7a6ab28035779065026b70dca440892d819c0bc (patch)
tree930fd4603b42a095e9f3669517dea29274323575 /sys/netipx/ipx_ip.c
parent4538098d0b3fbe09f64c578b730483a6e77ff40f (diff)
downloadFreeBSD-src-d7a6ab28035779065026b70dca440892d819c0bc.zip
FreeBSD-src-d7a6ab28035779065026b70dca440892d819c0bc.tar.gz
Staticize.
Diffstat (limited to 'sys/netipx/ipx_ip.c')
-rw-r--r--sys/netipx/ipx_ip.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/sys/netipx/ipx_ip.c b/sys/netipx/ipx_ip.c
index 73330a2..c5d9bf7 100644
--- a/sys/netipx/ipx_ip.c
+++ b/sys/netipx/ipx_ip.c
@@ -33,7 +33,7 @@
*
* @(#)ipx_ip.c
*
- * $Id: ipx_ip.c,v 1.18 1997/12/21 16:35:12 bde Exp $
+ * $Id: ipx_ip.c,v 1.19 1998/01/08 23:41:56 eivind Exp $
*/
/*
@@ -72,8 +72,10 @@
#include <netipx/ipx_ip.h>
#include <netipx/ipx_var.h>
-struct ifnet ipxipif;
-struct ifnet_en *ipxip_list; /* list of all hosts and gateways or broadcast addrs */
+static struct ifnet ipxipif;
+
+/* list of all hosts and gateways or broadcast addrs */
+static struct ifnet_en *ipxip_list;
static struct ifnet_en *ipxipattach(void);
static int ipxip_free(struct ifnet *ifp);
@@ -156,9 +158,9 @@ ipxipioctl(ifp, cmd, data)
return (error);
}
-struct mbuf *ipxip_badlen;
-struct mbuf *ipxip_lastin;
-int ipxip_hold_input;
+static struct mbuf *ipxip_badlen;
+static struct mbuf *ipxip_lastin;
+static int ipxip_hold_input;
void
ipxip_input(m, hlen)
@@ -311,7 +313,7 @@ struct ifnet *ifp;
panic("ipxip_start called\n");
}
-struct ifreq ifr_ipxip = {"ipxip0"};
+static struct ifreq ifr_ipxip = {"ipxip0"};
int
ipxip_route(so, m, p)
OpenPOWER on IntegriCloud