summaryrefslogtreecommitdiff
path: root/libc/inet/rpc/pmap_rmt.c
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2001-02-12 00:59:18 +0000
committerManuel Novoa III <mjn3@codepoet.org>2001-02-12 00:59:18 +0000
commit356b686774968d312476b66d0c1fb1f21c46305a (patch)
tree2f5aaf6e6add6d81e463d41609bd2f3cd5107d0a /libc/inet/rpc/pmap_rmt.c
parente57fc6bbb2e98f9ef3336db698dc7dd260dfc502 (diff)
Clean up lots of warnings.
Diffstat (limited to 'libc/inet/rpc/pmap_rmt.c')
-rw-r--r--libc/inet/rpc/pmap_rmt.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/libc/inet/rpc/pmap_rmt.c b/libc/inet/rpc/pmap_rmt.c
index a79c34954..f330db07d 100644
--- a/libc/inet/rpc/pmap_rmt.c
+++ b/libc/inet/rpc/pmap_rmt.c
@@ -92,8 +92,9 @@ u_long *port_ptr;
r.port_ptr = port_ptr;
r.results_ptr = resp;
r.xdr_results = xdrres;
- stat = CLNT_CALL(client, PMAPPROC_CALLIT, xdr_rmtcall_args, &a,
- xdr_rmtcallres, &r, tout);
+ stat = CLNT_CALL(client, PMAPPROC_CALLIT,
+ (xdrproc_t) xdr_rmtcall_args, (caddr_t) &a,
+ (xdrproc_t) xdr_rmtcallres, (caddr_t) &r, tout);
CLNT_DESTROY(client);
} else {
stat = RPC_FAILED;
@@ -143,7 +144,7 @@ register struct rmtcallres *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));
}
@@ -341,10 +342,9 @@ resultproc_t eachresult; /* call with each result obtained */
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;
readfds = mask;
- switch (select(_rpc_dtablesize(), &readfds, (int *) NULL,
- (int *) NULL, &t)) {
+ switch (select(_rpc_dtablesize(), &readfds, NULL, NULL, &t)) {
case 0: /* timed out */
stat = RPC_TIMEDOUT;
@@ -394,7 +394,7 @@ resultproc_t eachresult; /* call with each result obtained */
#endif
}
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);