diff options
author | brooks <brooks@FreeBSD.org> | 2004-04-14 00:57:49 +0000 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2004-04-14 00:57:49 +0000 |
commit | 6a86b016720e6c490ba881c2bc0267b410e78005 (patch) | |
tree | 0f86b553c2697d1910c06cc355941a574f842b05 /sys/net/if_gif.c | |
parent | 58455f9e3f869c3180a82c968b65beffd5360d9b (diff) | |
download | FreeBSD-src-6a86b016720e6c490ba881c2bc0267b410e78005.zip FreeBSD-src-6a86b016720e6c490ba881c2bc0267b410e78005.tar.gz |
Staticize <if>_clone_{create,destroy} functions.
Reviewed by: mlaier
Diffstat (limited to 'sys/net/if_gif.c')
-rw-r--r-- | sys/net/if_gif.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/net/if_gif.c b/sys/net/if_gif.c index 2519192..60e6220 100644 --- a/sys/net/if_gif.c +++ b/sys/net/if_gif.c @@ -96,8 +96,8 @@ void (*ng_gif_input_orphan_p)(struct ifnet *ifp, struct mbuf *m, int af); void (*ng_gif_attach_p)(struct ifnet *ifp); void (*ng_gif_detach_p)(struct ifnet *ifp); -int gif_clone_create(struct if_clone *, int); -void gif_clone_destroy(struct ifnet *); +static int gif_clone_create(struct if_clone *, int); +static void gif_clone_destroy(struct ifnet *); struct if_clone gif_cloner = IF_CLONE_INITIALIZER("gif", gif_clone_create, gif_clone_destroy, 0, IF_MAXUNIT); @@ -135,7 +135,7 @@ static int parallel_tunnels = 0; SYSCTL_INT(_net_link_gif, OID_AUTO, parallel_tunnels, CTLFLAG_RW, ¶llel_tunnels, 0, "Allow parallel tunnels?"); -int +static int gif_clone_create(ifc, unit) struct if_clone *ifc; int unit; @@ -208,7 +208,7 @@ gif_destroy(struct gif_softc *sc) free(sc, M_GIF); } -void +static void gif_clone_destroy(ifp) struct ifnet *ifp; { |