From b9ccfd5db26124960fd8a483edcf2de9c8d849a7 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 9 Dec 1997 23:46:25 +0000 Subject: Rename cu_wait from timeout to not shadow the variable in the outer scope. --- sunrpc/clnt_udp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sunrpc/clnt_udp.c b/sunrpc/clnt_udp.c index e166dede81..549e631a1f 100644 --- a/sunrpc/clnt_udp.c +++ b/sunrpc/clnt_udp.c @@ -287,10 +287,10 @@ send_again: mask = 1 << cu->cu_sock; #endif /* def FD_SETSIZE */ for (;;) { - struct timeval timeout = cu->cu_wait; + struct timeval cu_wait = cu->cu_wait; readfds = mask; switch (select(_rpc_dtablesize(), &readfds, (int *)NULL, - (int *)NULL, &timeout)) { + (int *)NULL, &cu_wait)) { case 0: time_waited.tv_sec += cu->cu_wait.tv_sec; -- cgit v1.2.3