diff options
| author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2002-04-28 15:18:50 +0000 |
|---|---|---|
| committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2002-04-28 15:18:50 +0000 |
| commit | f249dbcc7149848de00cd8f4e93fe140dfa3f219 (patch) | |
| tree | d7c3c2d08e4ff1d59c15bcb1a7ee8e74f001cb1d /lib/libc/rpc/clnt_dg.c | |
| parent | 6c28b67b1e004e45f13067a61ca68a011848b065 (diff) | |
Notes
Diffstat (limited to 'lib/libc/rpc/clnt_dg.c')
| -rw-r--r-- | lib/libc/rpc/clnt_dg.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libc/rpc/clnt_dg.c b/lib/libc/rpc/clnt_dg.c index 7c13cdd019d8..5779c355636f 100644 --- a/lib/libc/rpc/clnt_dg.c +++ b/lib/libc/rpc/clnt_dg.c @@ -68,10 +68,10 @@ __FBSDID("$FreeBSD$"); static struct clnt_ops *clnt_dg_ops(void); static bool_t time_not_ok(struct timeval *); -static enum clnt_stat clnt_dg_call(CLIENT *, rpcproc_t, xdrproc_t, caddr_t, - xdrproc_t, caddr_t, struct timeval); +static enum clnt_stat clnt_dg_call(CLIENT *, rpcproc_t, xdrproc_t, void *, + xdrproc_t, void *, struct timeval); static void clnt_dg_geterr(CLIENT *, struct rpc_err *); -static bool_t clnt_dg_freeres(CLIENT *, xdrproc_t, caddr_t); +static bool_t clnt_dg_freeres(CLIENT *, xdrproc_t, void *); static void clnt_dg_abort(CLIENT *); static bool_t clnt_dg_control(CLIENT *, u_int, char *); static void clnt_dg_destroy(CLIENT *); @@ -294,9 +294,9 @@ clnt_dg_call(cl, proc, xargs, argsp, xresults, resultsp, utimeout) CLIENT *cl; /* client handle */ rpcproc_t 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 */ struct timeval utimeout; /* seconds to wait before giving up */ { struct cu_data *cu = (struct cu_data *)cl->cl_private; @@ -594,7 +594,7 @@ static bool_t clnt_dg_freeres(cl, xdr_res, res_ptr) CLIENT *cl; xdrproc_t xdr_res; - caddr_t res_ptr; + void *res_ptr; { struct cu_data *cu = (struct cu_data *)cl->cl_private; XDR *xdrs = &(cu->cu_outxdrs); |
