diff options
author | Gleb Smirnoff <glebius@FreeBSD.org> | 2019-10-18 15:20:24 +0000 |
---|---|---|
committer | Gleb Smirnoff <glebius@FreeBSD.org> | 2019-10-18 15:20:24 +0000 |
commit | fda454099b2ae0abfc625fc16dc8cacf547fc2d4 (patch) | |
tree | 16eb00e74543a7ddf7fdbd159df07edf7a46e52e | |
parent | 14327f53343503e2b1d5a0aff0459c2bf07ddf35 (diff) | |
download | src-fda454099b2ae0abfc625fc16dc8cacf547fc2d4.tar.gz src-fda454099b2ae0abfc625fc16dc8cacf547fc2d4.zip |
Make rt_getifa_fib() static.
Notes
Notes:
svn path=/head/; revision=353732
-rw-r--r-- | sys/net/route.c | 1 | ||||
-rw-r--r-- | sys/net/route.h | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/route.c b/sys/net/route.c index fe06251999cb..c70f8a73ebc4 100644 --- a/sys/net/route.c +++ b/sys/net/route.c @@ -135,6 +135,7 @@ VNET_DEFINE_STATIC(uma_zone_t, rtzone); /* Routing table UMA zone. */ EVENTHANDLER_LIST_DEFINE(rt_addrmsg); +static int rt_getifa_fib(struct rt_addrinfo *, u_int); static int rtrequest1_fib_change(struct rib_head *, struct rt_addrinfo *, struct rtentry **, u_int); static void rt_setmetrics(const struct rt_addrinfo *, struct rtentry *); diff --git a/sys/net/route.h b/sys/net/route.h index bdeb9869f7fe..0ba489d15e29 100644 --- a/sys/net/route.h +++ b/sys/net/route.h @@ -488,7 +488,6 @@ int rtinit(struct ifaddr *, int, int); * For now the protocol indepedent versions are the same as the AF_INET ones * but this will change.. */ -int rt_getifa_fib(struct rt_addrinfo *, u_int fibnum); void rtalloc_ign_fib(struct route *ro, u_long ignflags, u_int fibnum); struct rtentry *rtalloc1_fib(struct sockaddr *, int, u_long, u_int); int rtioctl_fib(u_long, caddr_t, u_int); |