[git commit] rpc: silence warning
Bernhard Reutner-Fischer
rep.dot.nop at gmail.com
Wed Mar 20 09:09:29 UTC 2013
commit: http://git.uclibc.org/uClibc/commit/?id=b3a3b27c58cef94a7dedf95eec5a89a10a964d78
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master
Silence warning about shadowing wait
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
libc/inet/rpc/clnt_udp.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/libc/inet/rpc/clnt_udp.c b/libc/inet/rpc/clnt_udp.c
index f2f8149..4fc55b7 100644
--- a/libc/inet/rpc/clnt_udp.c
+++ b/libc/inet/rpc/clnt_udp.c
@@ -105,7 +105,7 @@ struct cu_data
* NB: The rpch->cl_auth is initialized to null authentication.
* Caller may wish to set this something more useful.
*
- * wait is the amount of time used between retransmitting a call if
+ * _wait is the amount of time used between retransmitting a call if
* no response has been heard; retransmission occurs until the actual
* rpc call times out.
*
@@ -114,7 +114,7 @@ struct cu_data
*/
CLIENT *
clntudp_bufcreate (struct sockaddr_in *raddr, u_long program, u_long version,
- struct timeval wait, int *sockp, u_int sendsz,
+ struct timeval _wait, int *sockp, u_int sendsz,
u_int recvsz)
{
CLIENT *cl;
@@ -149,7 +149,7 @@ clntudp_bufcreate (struct sockaddr_in *raddr, u_long program, u_long version,
cl->cl_private = (caddr_t) cu;
cu->cu_raddr = *raddr;
cu->cu_rlen = sizeof (cu->cu_raddr);
- cu->cu_wait = wait;
+ cu->cu_wait = _wait;
cu->cu_total.tv_sec = -1;
cu->cu_total.tv_usec = -1;
cu->cu_sendsz = sendsz;
@@ -207,10 +207,10 @@ fooy:
libc_hidden_def(clntudp_bufcreate)
CLIENT *
-clntudp_create (struct sockaddr_in *raddr, u_long program, u_long version, struct timeval wait, int *sockp)
+clntudp_create (struct sockaddr_in *raddr, u_long program, u_long version, struct timeval _wait, int *sockp)
{
- return clntudp_bufcreate (raddr, program, version, wait, sockp,
+ return clntudp_bufcreate (raddr, program, version, _wait, sockp,
UDPMSGSIZE, UDPMSGSIZE);
}
libc_hidden_def(clntudp_create)
More information about the uClibc-cvs
mailing list