summaryrefslogtreecommitdiffstats
path: root/lib/libc/rpc/rpc_soc.c
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2002-04-28 15:18:50 +0000
committerdes <des@FreeBSD.org>2002-04-28 15:18:50 +0000
commite48f76df853e520cafc8b0a6237838fa12f69ea3 (patch)
treed7c3c2d08e4ff1d59c15bcb1a7ee8e74f001cb1d /lib/libc/rpc/rpc_soc.c
parent905d923df1beb294d386944f9fb3085807aefa0e (diff)
downloadFreeBSD-src-e48f76df853e520cafc8b0a6237838fa12f69ea3.zip
FreeBSD-src-e48f76df853e520cafc8b0a6237838fa12f69ea3.tar.gz
Spell void * as void * rather than caddr_t. This is complicated by the
fact that caddr_t is often misspelled as char *. Sponsored by: DARPA, NAI Labs
Diffstat (limited to 'lib/libc/rpc/rpc_soc.c')
-rw-r--r--lib/libc/rpc/rpc_soc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/rpc/rpc_soc.c b/lib/libc/rpc/rpc_soc.c
index ffb1c76..9a58fc5 100644
--- a/lib/libc/rpc/rpc_soc.c
+++ b/lib/libc/rpc/rpc_soc.c
@@ -182,7 +182,7 @@ clntudp_bufcreate(raddr, prog, vers, wait, sockp, sendsz, recvsz)
if (cl == NULL) {
return (NULL);
}
- (void) CLNT_CONTROL(cl, CLSET_RETRY_TIMEOUT, (char *)(void *)&wait);
+ (void) CLNT_CONTROL(cl, CLSET_RETRY_TIMEOUT, &wait);
return (cl);
}
@@ -394,9 +394,9 @@ clnt_broadcast(prog, vers, proc, xargs, argsp, xresults, resultsp, eachresult)
u_long vers; /* version number */
u_long proc; /* procedure number */
xdrproc_t xargs; /* xdr routine for args */
- caddr_t argsp; /* pointer to args */
+ void *argsp; /* pointer to args */
xdrproc_t xresults; /* xdr routine for results */
- caddr_t resultsp; /* pointer to results */
+ void *resultsp; /* pointer to results */
resultproc_t eachresult; /* call with each result obtained */
{
extern mutex_t tsd_lock;
OpenPOWER on IntegriCloud