From 6a86b016720e6c490ba881c2bc0267b410e78005 Mon Sep 17 00:00:00 2001 From: brooks Date: Wed, 14 Apr 2004 00:57:49 +0000 Subject: Staticize _clone_{create,destroy} functions. Reviewed by: mlaier --- sys/net/if_gif.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sys/net/if_gif.c') 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; { -- cgit v1.1