diff options
author | 1996-03-25 21:54:35 +0000 | |
---|---|---|
committer | 1996-03-25 21:54:35 +0000 | |
commit | 48dcfcdaab65b07f702d337324f16d9469ae9bcd (patch) | |
tree | 684cd9bccfa9ce74fa67d2228ceb079d923750ae /lib/libc/rpc/svc_run.c | |
parent | Prototype internal functions (diff) | |
download | wireguard-openbsd-48dcfcdaab65b07f702d337324f16d9469ae9bcd.tar.xz wireguard-openbsd-48dcfcdaab65b07f702d337324f16d9469ae9bcd.zip |
Pull prototypes into scope
Remove graticious casts
Diffstat (limited to 'lib/libc/rpc/svc_run.c')
-rw-r--r-- | lib/libc/rpc/svc_run.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/rpc/svc_run.c b/lib/libc/rpc/svc_run.c index 29d7ddd94f3..fe44f8c9821 100644 --- a/lib/libc/rpc/svc_run.c +++ b/lib/libc/rpc/svc_run.c @@ -41,6 +41,7 @@ static char *rcsid = "$NetBSD: svc_run.c,v 1.6 1995/02/25 03:02:00 cgd Exp $"; */ #include <rpc/rpc.h> #include <sys/errno.h> +#include <unistd.h> void svc_run() @@ -49,7 +50,7 @@ svc_run() for (;;) { readfds = svc_fdset; - switch (select(svc_maxfd+1, &readfds, (int *)0, (int *)0, + switch (select(svc_maxfd+1, &readfds, 0, 0, (struct timeval *)0)) { case -1: if (errno == EINTR) { |