diff options
Diffstat (limited to 'cpukit/librpc/src/rpc/pmap_clnt.c')
-rw-r--r-- | cpukit/librpc/src/rpc/pmap_clnt.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/librpc/src/rpc/pmap_clnt.c b/cpukit/librpc/src/rpc/pmap_clnt.c index 8dcb1824f3..7c02867ea2 100644 --- a/cpukit/librpc/src/rpc/pmap_clnt.c +++ b/cpukit/librpc/src/rpc/pmap_clnt.c @@ -72,7 +72,7 @@ pmap_set( { struct sockaddr_in myaddress; int socket = -1; - register CLIENT *client; + CLIENT *client; struct pmap parms; bool_t rslt; struct stat st; @@ -97,7 +97,7 @@ pmap_set( parms.pm_vers = version; parms.pm_prot = protocol; parms.pm_port = port; - if (CLNT_CALL(client, PMAPPROC_SET, xdr_pmap, &parms, xdr_bool, &rslt, + if (CLNT_CALL(client, PMAPPROC_SET, (xdrproc_t)xdr_pmap, &parms, (xdrproc_t)xdr_bool, &rslt, tottimeout) != RPC_SUCCESS) { clnt_perror(client, "Cannot register service"); return (FALSE); @@ -109,7 +109,7 @@ pmap_set( } /* - * Remove the mapping between program,version and port. + * Remove the mapping between program, version and port. * Calls the pmap service remotely to do the un-mapping. */ bool_t @@ -142,7 +142,7 @@ pmap_unset( parms.pm_prog = program; parms.pm_vers = version; parms.pm_port = parms.pm_prot = 0; - CLNT_CALL(client, PMAPPROC_UNSET, xdr_pmap, &parms, xdr_bool, &rslt, + CLNT_CALL(client, PMAPPROC_UNSET, (xdrproc_t)xdr_pmap, &parms, (xdrproc_t)xdr_bool, &rslt, tottimeout); CLNT_DESTROY(client); if (socket != -1) |