diff options
Diffstat (limited to 'usr.sbin/rtsold/rtsock.c')
-rw-r--r-- | usr.sbin/rtsold/rtsock.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/usr.sbin/rtsold/rtsock.c b/usr.sbin/rtsold/rtsock.c index 429b78b..0c409c1 100644 --- a/usr.sbin/rtsold/rtsock.c +++ b/usr.sbin/rtsold/rtsock.c @@ -80,15 +80,14 @@ static struct { }; int -rtsock_open() +rtsock_open(void) { return socket(PF_ROUTE, SOCK_RAW, 0); } int -rtsock_input(s) - int s; +rtsock_input(int s) { ssize_t n; char msg[2048]; @@ -136,10 +135,7 @@ rtsock_input(s) #ifdef RTM_IFANNOUNCE /*NetBSD 1.5 or later*/ static int -rtsock_input_ifannounce(s, rtm, lim) - int s; - struct rt_msghdr *rtm; - char *lim; +rtsock_input_ifannounce(int s, struct rt_msghdr *rtm, char *lim) { struct if_announcemsghdr *ifan; struct ifinfo *ifinfo; |