diff options
author | ae <ae@FreeBSD.org> | 2015-06-06 13:26:13 +0000 |
---|---|---|
committer | ae <ae@FreeBSD.org> | 2015-06-06 13:26:13 +0000 |
commit | f1be259e6af9ac775f04f085d8c66353f768d5b4 (patch) | |
tree | 31e552507a67237f877155076898df6b54d81805 /sys/net/if_gre.c | |
parent | 920800a21fab4e6f4bbb3159edfbd5a9bca22370 (diff) | |
download | FreeBSD-src-f1be259e6af9ac775f04f085d8c66353f768d5b4.zip FreeBSD-src-f1be259e6af9ac775f04f085d8c66353f768d5b4.tar.gz |
MFC r276148:
Remove in_gif.h and in6_gif.h files. They only contain function
declarations used by gif(4). Instead declare these functions in C files.
Also make some variables static.
MFC r276215:
Extern declarations in C files loses compile-time checking that
the functions' calls match their definitions. Move them to header files.
Diffstat (limited to 'sys/net/if_gre.c')
-rw-r--r-- | sys/net/if_gre.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/sys/net/if_gre.c b/sys/net/if_gre.c index d7ba610..9b31356 100644 --- a/sys/net/if_gre.c +++ b/sys/net/if_gre.c @@ -119,16 +119,6 @@ static int gre_set_tunnel(struct ifnet *, struct sockaddr *, struct sockaddr *); static void gre_delete_tunnel(struct ifnet *); -int gre_input(struct mbuf **, int *, int); -#ifdef INET -extern int in_gre_attach(struct gre_softc *); -extern int in_gre_output(struct mbuf *, int, int); -#endif -#ifdef INET6 -extern int in6_gre_attach(struct gre_softc *); -extern int in6_gre_output(struct mbuf *, int, int); -#endif - SYSCTL_DECL(_net_link); static SYSCTL_NODE(_net_link, IFT_TUNNEL, gre, CTLFLAG_RW, 0, "Generic Routing Encapsulation"); |