From 356b686774968d312476b66d0c1fb1f21c46305a Mon Sep 17 00:00:00 2001 From: Manuel Novoa III Date: Mon, 12 Feb 2001 00:59:18 +0000 Subject: Clean up lots of warnings. --- libc/inet/rpc/svc_tcp.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libc/inet/rpc/svc_tcp.c') diff --git a/libc/inet/rpc/svc_tcp.c b/libc/inet/rpc/svc_tcp.c index 64527f84d..082f51464 100644 --- a/libc/inet/rpc/svc_tcp.c +++ b/libc/inet/rpc/svc_tcp.c @@ -45,7 +45,7 @@ #include #include #include -extern errno; +#include /* * Ops vector for TCP/IP based rpc service handle @@ -72,6 +72,7 @@ static struct xp_ops svctcp_op = { static bool_t rendezvous_request(); static enum xprt_stat rendezvous_stat(); +#warning Expect 3 warnings for initialization from incompatible pointer type static struct xp_ops svctcp_rendezvous_op = { rendezvous_request, rendezvous_stat, @@ -300,7 +301,7 @@ register int len; #endif /* def FD_SETSIZE */ do { readfds = mask; - if (select(_rpc_dtablesize(), &readfds, (int *) NULL, (int *) NULL, + if (select(_rpc_dtablesize(), &readfds, NULL, NULL, &wait_per_try) <= 0) { if (errno == EINTR) { continue; -- cgit v1.2.3