From: Ulrich Drepper Date: Tue, 9 Dec 1997 23:46:25 +0000 (+0000) Subject: Rename cu_wait from timeout to not shadow the variable in the outer X-Git-Tag: cvs/glibc-2_0_6pre3~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9ccfd5db26124960fd8a483edcf2de9c8d849a7;p=thirdparty%2Fglibc.git Rename cu_wait from timeout to not shadow the variable in the outer scope. --- diff --git a/sunrpc/clnt_udp.c b/sunrpc/clnt_udp.c index e166dede81d..549e631a1f6 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;