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_stf.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_stf.c')
-rw-r--r-- | sys/net/if_stf.c | 8 |
1 files changed, 4 insertions, 4 deletions
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; { |