aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet6/in6_gif.c
diff options
context:
space:
mode:
authorAndrey V. Elsukov <ae@FreeBSD.org>2014-12-25 21:32:37 +0000
committerAndrey V. Elsukov <ae@FreeBSD.org>2014-12-25 21:32:37 +0000
commitf188f14d43bbbfc175eebaf9a54d137b6fecf16b (patch)
tree88f1837b0a85834b8a83c16acb1f96c084c289fa /sys/netinet6/in6_gif.c
parentc05bafc566aad6e7c22154b09b0a6aa860d91bb3 (diff)
Extern declarations in C files loses compile-time checking that
the functions' calls match their definitions. Move them to header files. Reviewed by: jilles (previous version)
Notes
Notes: svn path=/head/; revision=276215
Diffstat (limited to 'sys/netinet6/in6_gif.c')
-rw-r--r--sys/netinet6/in6_gif.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/netinet6/in6_gif.c b/sys/netinet6/in6_gif.c
index 855315ed150b..3db4b4f1d584 100644
--- a/sys/netinet6/in6_gif.c
+++ b/sys/netinet6/in6_gif.c
@@ -81,10 +81,6 @@ SYSCTL_DECL(_net_inet6_ip6);
SYSCTL_INT(_net_inet6_ip6, IPV6CTL_GIF_HLIM, gifhlim, CTLFLAG_VNET | CTLFLAG_RW,
&VNET_NAME(ip6_gif_hlim), 0, "");
-int in6_gif_output(struct ifnet *, struct mbuf *, int, uint8_t);
-int in6_gif_encapcheck(const struct mbuf *, int, int, void *);
-int in6_gif_attach(struct gif_softc *);
-
static int gif_validate6(const struct ip6_hdr *, struct gif_softc *,
struct ifnet *);
static int in6_gif_input(struct mbuf **, int *, int);