diff options
Diffstat (limited to 'sys/contrib')
-rw-r--r-- | sys/contrib/pf/net/if_pflog.c | 8 | ||||
-rw-r--r-- | sys/contrib/pf/net/if_pfsync.c | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/sys/contrib/pf/net/if_pflog.c b/sys/contrib/pf/net/if_pflog.c index ca7b401..d267f72 100644 --- a/sys/contrib/pf/net/if_pflog.c +++ b/sys/contrib/pf/net/if_pflog.c @@ -104,8 +104,8 @@ struct pflog_softc pflogif[NPFLOG]; #endif #ifdef __FreeBSD__ -void pflog_clone_destroy(struct ifnet *); -int pflog_clone_create(struct if_clone *, int); +static void pflog_clone_destroy(struct ifnet *); +static int pflog_clone_create(struct if_clone *, int); #else void pflogattach(int); #endif @@ -125,7 +125,7 @@ static LIST_HEAD(pflog_list, pflog_softc) pflog_list; struct if_clone pflog_cloner = IF_CLONE_INITIALIZER(PFLOGNAME, pflog_clone_create, pflog_clone_destroy, 1, IF_MAXUNIT); -void +static void pflog_clone_destroy(struct ifnet *ifp) { struct pflog_softc *sc; @@ -143,7 +143,7 @@ pflog_clone_destroy(struct ifnet *ifp) free(sc, M_PFLOG); } -int +static int pflog_clone_create(struct if_clone *ifc, int unit) { struct pflog_softc *sc; diff --git a/sys/contrib/pf/net/if_pfsync.c b/sys/contrib/pf/net/if_pfsync.c index dbef4e6..b47fc14 100644 --- a/sys/contrib/pf/net/if_pfsync.c +++ b/sys/contrib/pf/net/if_pfsync.c @@ -95,8 +95,8 @@ struct pfsync_softc pfsyncif; #endif #ifdef __FreeBSD__ -void pfsync_clone_destroy(struct ifnet *); -int pfsync_clone_create(struct if_clone *, int); +static void pfsync_clone_destroy(struct ifnet *); +static int pfsync_clone_create(struct if_clone *, int); #else void pfsyncattach(int); #endif @@ -120,7 +120,7 @@ static LIST_HEAD(pfsync_list, pfsync_softc) pfsync_list; struct if_clone pfsync_cloner = IF_CLONE_INITIALIZER(PFSYNCNAME, pfsync_clone_create, pfsync_clone_destroy, 1, IF_MAXUNIT); -void +static void pfsync_clone_destroy(struct ifnet *ifp) { struct pfsync_softc *sc; @@ -141,7 +141,7 @@ pfsync_clone_destroy(struct ifnet *ifp) free(sc, M_PFSYNC); } -int +static int pfsync_clone_create(struct if_clone *ifc, int unit) { struct pfsync_softc *sc; |