diff options
author | Ulrich Drepper <drepper@gmail.com> | 2011-04-16 21:59:36 -0400 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2011-04-16 21:59:36 -0400 |
commit | 7b57bfe5988e476ea40934457dfd1c8a231e2391 (patch) | |
tree | 33dbec2b9a1a8fd8472a214945090f31d5372a8e /sunrpc/clnt_raw.c | |
parent | e6c61494125126d2ba77e5d99f83887a2ed49783 (diff) | |
download | glibc-7b57bfe5988e476ea40934457dfd1c8a231e2391.tar glibc-7b57bfe5988e476ea40934457dfd1c8a231e2391.tar.gz glibc-7b57bfe5988e476ea40934457dfd1c8a231e2391.tar.bz2 glibc-7b57bfe5988e476ea40934457dfd1c8a231e2391.zip |
Obsolete RPC implementation in libc.
Diffstat (limited to 'sunrpc/clnt_raw.c')
-rw-r--r-- | sunrpc/clnt_raw.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sunrpc/clnt_raw.c b/sunrpc/clnt_raw.c index 7a8030e41f..95e3eae988 100644 --- a/sunrpc/clnt_raw.c +++ b/sunrpc/clnt_raw.c @@ -109,9 +109,8 @@ clntraw_create (u_long prog, u_long vers) call_msg.rm_call.cb_rpcvers = RPC_MSG_VERSION; call_msg.rm_call.cb_prog = prog; call_msg.rm_call.cb_vers = vers; - INTUSE(xdrmem_create) (xdrs, clp->mashl_callmsg.msg, MCALL_MSG_SIZE, - XDR_ENCODE); - if (!INTUSE(xdr_callhdr) (xdrs, &call_msg)) + xdrmem_create (xdrs, clp->mashl_callmsg.msg, MCALL_MSG_SIZE, XDR_ENCODE); + if (!xdr_callhdr (xdrs, &call_msg)) { perror (_ ("clnt_raw.c: fatal header serialization error")); } @@ -121,15 +120,16 @@ clntraw_create (u_long prog, u_long vers) /* * Set xdrmem for client/server shared buffer */ - INTUSE(xdrmem_create) (xdrs, clp->_raw_buf, UDPMSGSIZE, XDR_FREE); + xdrmem_create (xdrs, clp->_raw_buf, UDPMSGSIZE, XDR_FREE); /* * create client handle */ client->cl_ops = (struct clnt_ops *) &client_ops; - client->cl_auth = INTUSE(authnone_create) (); + client->cl_auth = authnone_create (); return client; } +libc_hidden_nolink (clntraw_create, GLIBC_2_0) static enum clnt_stat clntraw_call (h, proc, xargs, argsp, xresults, resultsp, timeout) @@ -172,7 +172,7 @@ call_again: * We have to call server input routine here because this is * all going on in one process. Yuk. */ - INTUSE(svc_getreq) (1); + svc_getreq (1); /* * get results @@ -182,7 +182,7 @@ call_again: msg.acpted_rply.ar_verf = _null_auth; msg.acpted_rply.ar_results.where = resultsp; msg.acpted_rply.ar_results.proc = xresults; - if (!INTUSE(xdr_replymsg) (xdrs, &msg)) + if (!xdr_replymsg (xdrs, &msg)) return RPC_CANTDECODERES; _seterr_reply (&msg, &error); status = error.re_status; @@ -209,7 +209,7 @@ call_again: if (msg.acpted_rply.ar_verf.oa_base != NULL) { xdrs->x_op = XDR_FREE; - (void) INTUSE(xdr_opaque_auth) (xdrs, &(msg.acpted_rply.ar_verf)); + (void) xdr_opaque_auth (xdrs, &(msg.acpted_rply.ar_verf)); } } |