summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/in6_gif.c
diff options
context:
space:
mode:
authorae <ae@FreeBSD.org>2014-12-25 21:32:37 +0000
committerae <ae@FreeBSD.org>2014-12-25 21:32:37 +0000
commita5140616afea75587f25d7fc244b3a894d028b26 (patch)
tree88f1837b0a85834b8a83c16acb1f96c084c289fa /sys/netinet6/in6_gif.c
parent92a41d31d41914fe4f2082659803c5a2dbe6cb52 (diff)
downloadFreeBSD-src-a5140616afea75587f25d7fc244b3a894d028b26.zip
FreeBSD-src-a5140616afea75587f25d7fc244b3a894d028b26.tar.gz
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)
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 855315e..3db4b4f 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);
OpenPOWER on IntegriCloud