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_stf.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sys/net/if_stf.c') diff --git a/sys/net/if_stf.c b/sys/net/if_stf.c index 98e8ce2..fb6d6fe 100644 --- a/sys/net/if_stf.c +++ b/sys/net/if_stf.c @@ -172,14 +172,14 @@ static int stf_checkaddr6(struct stf_softc *, struct in6_addr *, static void stf_rtrequest(int, struct rtentry *, struct rt_addrinfo *); static int stf_ioctl(struct ifnet *, u_long, caddr_t); -int stf_clone_create(struct if_clone *, int); -void stf_clone_destroy(struct ifnet *); +static int stf_clone_create(struct if_clone *, int); +static void stf_clone_destroy(struct ifnet *); /* only one clone is currently allowed */ struct if_clone stf_cloner = IF_CLONE_INITIALIZER(STFNAME, stf_clone_create, stf_clone_destroy, 0, 0); -int +static int stf_clone_create(ifc, unit) struct if_clone *ifc; int unit; @@ -223,7 +223,7 @@ stf_destroy(struct stf_softc *sc) free(sc, M_STF); } -void +static void stf_clone_destroy(ifp) struct ifnet *ifp; { -- cgit v1.1