diff options
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/route.c | 7 | ||||
-rw-r--r-- | sys/net/route.h | 2 |
2 files changed, 2 insertions, 7 deletions
diff --git a/sys/net/route.c b/sys/net/route.c index 7e169c8..5ba4b36 100644 --- a/sys/net/route.c +++ b/sys/net/route.c @@ -377,18 +377,13 @@ out: * Routing table ioctl interface. */ int -rtioctl(req, data, p) +rtioctl(req, data) int req; caddr_t data; - struct proc *p; { #ifdef INET /* Multicast goop, grrr... */ -#ifdef MROUTING return mrt_ioctl(req, data); -#else - return mrt_ioctl(req, data, p); -#endif #else /* INET */ return ENXIO; #endif /* INET */ diff --git a/sys/net/route.h b/sys/net/route.h index c5642a4..bfe72d8 100644 --- a/sys/net/route.h +++ b/sys/net/route.h @@ -286,7 +286,7 @@ struct rtentry * rtalloc1 __P((struct sockaddr *, int, u_long)); void rtfree __P((struct rtentry *)); int rtinit __P((struct ifaddr *, int, int)); -int rtioctl __P((int, caddr_t, struct proc *)); +int rtioctl __P((int, caddr_t)); void rtredirect __P((struct sockaddr *, struct sockaddr *, struct sockaddr *, int, struct sockaddr *, struct rtentry **)); int rtrequest __P((int, struct sockaddr *, |