summaryrefslogtreecommitdiffstats
path: root/sys/netinet
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/in_gif.c2
-rw-r--r--sys/netinet/in_gif.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/sys/netinet/in_gif.c b/sys/netinet/in_gif.c
index 8e41fa2..4531a83 100644
--- a/sys/netinet/in_gif.c
+++ b/sys/netinet/in_gif.c
@@ -69,7 +69,7 @@
#include <net/net_osdep.h>
-int ip_gif_ttl = GIF_TTL;
+static int ip_gif_ttl = GIF_TTL;
SYSCTL_INT(_net_inet_ip, IPCTL_GIF_TTL, gifttl, CTLFLAG_RW,
&ip_gif_ttl, 0, "");
diff --git a/sys/netinet/in_gif.h b/sys/netinet/in_gif.h
index 387bff0..36ed617 100644
--- a/sys/netinet/in_gif.h
+++ b/sys/netinet/in_gif.h
@@ -35,8 +35,6 @@
#define GIF_TTL 30
-extern int ip_gif_ttl;
-
void in_gif_input __P((struct mbuf *, int off));
int in_gif_output __P((struct ifnet *, int, struct mbuf *, struct rtentry *));
int gif_encapcheck4 __P((const struct mbuf *, int, int, void *));
OpenPOWER on IntegriCloud