aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libc/rpc/svc.c
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2002-04-28 15:18:50 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2002-04-28 15:18:50 +0000
commitf249dbcc7149848de00cd8f4e93fe140dfa3f219 (patch)
treed7c3c2d08e4ff1d59c15bcb1a7ee8e74f001cb1d /lib/libc/rpc/svc.c
parent6c28b67b1e004e45f13067a61ca68a011848b065 (diff)
downloadsrc-f249dbcc7149848de00cd8f4e93fe140dfa3f219.tar.gz
src-f249dbcc7149848de00cd8f4e93fe140dfa3f219.zip
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
Notes
Notes: svn path=/head/; revision=95658
Diffstat (limited to 'lib/libc/rpc/svc.c')
-rw-r--r--lib/libc/rpc/svc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/rpc/svc.c b/lib/libc/rpc/svc.c
index c9d9c0797a86..c4584ed80ed9 100644
--- a/lib/libc/rpc/svc.c
+++ b/lib/libc/rpc/svc.c
@@ -360,7 +360,7 @@ bool_t
svc_sendreply(xprt, xdr_results, xdr_location)
SVCXPRT *xprt;
xdrproc_t xdr_results;
- caddr_t xdr_location;
+ void * xdr_location;
{
struct rpc_msg rply;
@@ -443,7 +443,7 @@ __svc_versquiet_on(xprt)
u_long tmp;
tmp = ((u_long) xprt->xp_p3) | SVC_VERSQUIET;
- xprt->xp_p3 = (caddr_t) tmp;
+ xprt->xp_p3 = tmp;
}
void
@@ -453,7 +453,7 @@ __svc_versquiet_off(xprt)
u_long tmp;
tmp = ((u_long) xprt->xp_p3) & ~SVC_VERSQUIET;
- xprt->xp_p3 = (caddr_t) tmp;
+ xprt->xp_p3 = tmp;
}
void