summaryrefslogtreecommitdiff
path: root/libc/inet/rpc/clnt_udp.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2013-03-17 07:14:04 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2013-03-20 10:09:29 +0100
commitb3a3b27c58cef94a7dedf95eec5a89a10a964d78 (patch)
treea496f6b8128a830c28dfc562ac60dc55244c451d /libc/inet/rpc/clnt_udp.c
parent64828a12a04a6d18e84e7a0c286423033c6d41c7 (diff)
rpc: silence warning
Silence warning about shadowing wait Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/inet/rpc/clnt_udp.c')
-rw-r--r--libc/inet/rpc/clnt_udp.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libc/inet/rpc/clnt_udp.c b/libc/inet/rpc/clnt_udp.c
index f2f8149ec..4fc55b732 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)