diff options
Diffstat (limited to 'sunrpc/svc_tcp.c')
-rw-r--r-- | sunrpc/svc_tcp.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sunrpc/svc_tcp.c b/sunrpc/svc_tcp.c index 8249474a57..9416b7e78f 100644 --- a/sunrpc/svc_tcp.c +++ b/sunrpc/svc_tcp.c @@ -54,7 +54,7 @@ static char sccsid[] = "@(#)svc_tcp.c 1.21 87/08/11 Copyr 1984 Sun Micro"; #ifdef USE_IN_LIBIO # include <wchar.h> # include <libio/iolibio.h> -# define fputs(s, f) _IO_fputs (s, f) +# define fputs(s, f) INTUSE(_IO_fputs) (s, f) #endif /* @@ -232,8 +232,8 @@ makefd_xprt (int fd, u_int sendsize, u_int recvsize) return NULL; } cd->strm_stat = XPRT_IDLE; - xdrrec_create (&(cd->xdrs), sendsize, recvsize, - (caddr_t) xprt, readtcp, writetcp); + INTUSE(xdrrec_create) (&(cd->xdrs), sendsize, recvsize, + (caddr_t) xprt, readtcp, writetcp); xprt->xp_p2 = NULL; xprt->xp_p1 = (caddr_t) cd; xprt->xp_verf.oa_base = cd->verf_body; @@ -370,7 +370,7 @@ svctcp_stat (SVCXPRT *xprt) if (cd->strm_stat == XPRT_DIED) return XPRT_DIED; - if (!xdrrec_eof (&(cd->xdrs))) + if (!INTUSE(xdrrec_eof) (&(cd->xdrs))) return XPRT_MOREREQS; return XPRT_IDLE; } @@ -382,8 +382,8 @@ svctcp_recv (SVCXPRT *xprt, struct rpc_msg *msg) XDR *xdrs = &(cd->xdrs); xdrs->x_op = XDR_DECODE; - (void) xdrrec_skiprecord (xdrs); - if (xdr_callmsg (xdrs, msg)) + (void) INTUSE(xdrrec_skiprecord) (xdrs); + if (INTUSE(xdr_callmsg) (xdrs, msg)) { cd->x_id = msg->rm_xid; return TRUE; @@ -417,7 +417,7 @@ svctcp_reply (SVCXPRT *xprt, struct rpc_msg *msg) xdrs->x_op = XDR_ENCODE; msg->rm_xid = cd->x_id; - stat = xdr_replymsg (xdrs, msg); - (void) xdrrec_endofrecord (xdrs, TRUE); + stat = INTUSE(xdr_replymsg) (xdrs, msg); + (void) INTUSE(xdrrec_endofrecord) (xdrs, TRUE); return stat; } |