diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2016-04-27 14:47:28 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2016-04-27 14:47:28 +0000 |
commit | de7af8ba4433d2646bdd815cc8579b3dfc17b612 (patch) | |
tree | 6b6c1681bafc98dcb1a99e4fcb1f798842c67a3b /sys/net/route.h | |
parent | bba89759ed548c0fe718334ceab20fbc1d7d0eb6 (diff) |
Remove unused arguments from rt_checkgate().
Since the rtalloc(9) rewrite no route lookup is done in this function so
there's no need for a destination or a rtable ID.
Diffstat (limited to 'sys/net/route.h')
-rw-r--r-- | sys/net/route.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/net/route.h b/sys/net/route.h index bef35438642..0332c26379e 100644 --- a/sys/net/route.h +++ b/sys/net/route.h @@ -1,4 +1,4 @@ -/* $OpenBSD: route.h,v 1.134 2016/03/30 10:13:14 mpi Exp $ */ +/* $OpenBSD: route.h,v 1.135 2016/04/27 14:47:27 mpi Exp $ */ /* $NetBSD: route.h,v 1.9 1996/02/13 22:00:49 christos Exp $ */ /* @@ -363,8 +363,7 @@ void rt_sendmsg(struct rtentry *, int, u_int); void rt_sendaddrmsg(struct rtentry *, int); void rt_missmsg(int, struct rt_addrinfo *, int, uint8_t, u_int, int, u_int); int rt_setgate(struct rtentry *, struct sockaddr *); -int rt_checkgate(struct ifnet *, struct rtentry *, struct sockaddr *, - unsigned int, struct rtentry **); +int rt_checkgate(struct rtentry *, struct rtentry **); void rt_setmetrics(u_long, struct rt_metrics *, struct rt_kmetrics *); void rt_getmetrics(struct rt_kmetrics *, struct rt_metrics *); |