summaryrefslogtreecommitdiffstats
path: root/sys/netinet/raw_ip.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1995-12-09 20:43:53 +0000
committerphk <phk@FreeBSD.org>1995-12-09 20:43:53 +0000
commit8f20b511b7228671b02076aad1f3032fa5f3e9b2 (patch)
tree192eb88f9bb33d9f89292db457a642d49af7787f /sys/netinet/raw_ip.c
parent37ba510363b37d063e0d337e3d63dd626661df15 (diff)
downloadFreeBSD-src-8f20b511b7228671b02076aad1f3032fa5f3e9b2.zip
FreeBSD-src-8f20b511b7228671b02076aad1f3032fa5f3e9b2.tar.gz
Staticize.
Diffstat (limited to 'sys/netinet/raw_ip.c')
-rw-r--r--sys/netinet/raw_ip.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/netinet/raw_ip.c b/sys/netinet/raw_ip.c
index 6a656b0..97c48e0 100644
--- a/sys/netinet/raw_ip.c
+++ b/sys/netinet/raw_ip.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)raw_ip.c 8.7 (Berkeley) 5/15/95
- * $Id: raw_ip.c,v 1.23 1995/10/21 02:12:20 davidg Exp $
+ * $Id: raw_ip.c,v 1.24 1995/11/14 20:34:23 phk Exp $
*/
#include <sys/param.h>
@@ -57,8 +57,8 @@
#include <netinet/ip_fw.h>
-struct inpcbhead ripcb;
-struct inpcbinfo ripcbinfo;
+static struct inpcbhead ripcb;
+static struct inpcbinfo ripcbinfo;
/*
* Nominal space allocated to a raw ip socket.
@@ -86,7 +86,7 @@ rip_init()
ripcbinfo.hashbase = phashinit(1, M_PCB, &ripcbinfo.hashsize);
}
-struct sockaddr_in ripsrc = { sizeof(ripsrc), AF_INET };
+static struct sockaddr_in ripsrc = { sizeof(ripsrc), AF_INET };
/*
* Setup generic address and protocol structures
* for raw_input routine, then pass them along with
OpenPOWER on IntegriCloud