diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2005-01-09 17:12:03 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2005-01-09 17:12:03 +0000 |
commit | 77b6a109132b9f68cb030fbb4ba79253f3530d03 (patch) | |
tree | 27f135c67a4e3f73db972078994b190a0e1dc0b3 /cpukit/librpc/src/rpc/pmap_rmt.c | |
parent | 2005-01-09 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-77b6a109132b9f68cb030fbb4ba79253f3530d03.tar.bz2 |
2005-01-09 Joel Sherrill <joel@oarcorp.com>
* librpc/include/rpc/clnt.h, librpc/src/rpc/authunix_prot.c,
librpc/src/rpc/clnt_tcp.c, librpc/src/rpc/pmap_prot2.c,
librpc/src/rpc/pmap_rmt.c, librpc/src/rpc/rtems_portmapper.c,
librpc/src/rpc/svc_simple.c: Fix warnings.
Diffstat (limited to 'cpukit/librpc/src/rpc/pmap_rmt.c')
-rw-r--r-- | cpukit/librpc/src/rpc/pmap_rmt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/librpc/src/rpc/pmap_rmt.c b/cpukit/librpc/src/rpc/pmap_rmt.c index 32a51be239..709a7ce241 100644 --- a/cpukit/librpc/src/rpc/pmap_rmt.c +++ b/cpukit/librpc/src/rpc/pmap_rmt.c @@ -149,7 +149,7 @@ xdr_rmtcallres(xdrs, crp) port_ptr = (caddr_t)crp->port_ptr; if (xdr_reference(xdrs, &port_ptr, sizeof (u_long), - xdr_u_long) && xdr_u_long(xdrs, &crp->resultslen)) { + (xdrproc_t) xdr_u_long) && xdr_u_long(xdrs, &crp->resultslen)) { crp->port_ptr = (u_long *)port_ptr; return ((*(crp->xdr_results))(xdrs, crp->results_ptr)); } @@ -348,7 +348,7 @@ clnt_broadcast(prog, vers, proc, xargs, argsp, xresults, resultsp, eachresult) recv_again: msg.acpted_rply.ar_verf = _null_auth; msg.acpted_rply.ar_results.where = (caddr_t)&r; - msg.acpted_rply.ar_results.proc = xdr_rmtcallres; + msg.acpted_rply.ar_results.proc = (xdrproc_t) xdr_rmtcallres; /* XXX we know the other bits are still clear */ FD_SET(sock, fds); tv = t; /* for select() that copies back */ @@ -394,7 +394,7 @@ clnt_broadcast(prog, vers, proc, xargs, argsp, xresults, resultsp, eachresult) /* otherwise, we just ignore the errors ... */ } xdrs->x_op = XDR_FREE; - msg.acpted_rply.ar_results.proc = xdr_void; + msg.acpted_rply.ar_results.proc = (xdrproc_t) xdr_void; (void)xdr_replymsg(xdrs, &msg); (void)(*xresults)(xdrs, resultsp); xdr_destroy(xdrs); |