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_faith.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_faith.c')
-rw-r--r-- | sys/net/if_faith.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/net/if_faith.c b/sys/net/if_faith.c index dfe89c1..abfa758 100644 --- a/sys/net/if_faith.c +++ b/sys/net/if_faith.c @@ -99,8 +99,8 @@ static struct mtx faith_mtx; static MALLOC_DEFINE(M_FAITH, FAITHNAME, "Firewall Assisted Tunnel Interface"); static LIST_HEAD(, faith_softc) faith_softc_list; -int faith_clone_create(struct if_clone *, int); -void faith_clone_destroy(struct ifnet *); +static int faith_clone_create(struct if_clone *, int); +static void faith_clone_destroy(struct ifnet *); static void faith_destroy(struct faith_softc *); struct if_clone faith_cloner = IF_CLONE_INITIALIZER(FAITHNAME, @@ -157,7 +157,7 @@ static moduledata_t faith_mod = { DECLARE_MODULE(if_faith, faith_mod, SI_SUB_PSEUDO, SI_ORDER_ANY); MODULE_VERSION(if_faith, 1); -int +static int faith_clone_create(ifc, unit) struct if_clone *ifc; int unit; @@ -196,7 +196,7 @@ faith_destroy(struct faith_softc *sc) free(sc, M_FAITH); } -void +static void faith_clone_destroy(ifp) struct ifnet *ifp; { |