diff options
Diffstat (limited to 'libc/inet/rpc/svc.c')
-rw-r--r-- | libc/inet/rpc/svc.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/libc/inet/rpc/svc.c b/libc/inet/rpc/svc.c index b14cbd803..faccab58e 100644 --- a/libc/inet/rpc/svc.c +++ b/libc/inet/rpc/svc.c @@ -230,8 +230,8 @@ svc_unregister (rpcprog_t prog, rpcvers_t vers) /* ******************* REPLY GENERATION ROUTINES ************ */ /* Send a reply to an rpc request */ -bool_t -svc_sendreply (register SVCXPRT *xprt, xdrproc_t xdr_results, +bool_t attribute_hidden +__svc_sendreply (register SVCXPRT *xprt, xdrproc_t xdr_results, caddr_t xdr_location) { struct rpc_msg rply; @@ -244,6 +244,7 @@ svc_sendreply (register SVCXPRT *xprt, xdrproc_t xdr_results, rply.acpted_rply.ar_results.proc = xdr_results; return SVC_REPLY (xprt, &rply); } +strong_alias(__svc_sendreply,svc_sendreply) /* No procedure error reply */ void @@ -285,8 +286,8 @@ svcerr_systemerr (register SVCXPRT *xprt) } /* Authentication error reply */ -void -svcerr_auth (SVCXPRT *xprt, enum auth_stat why) +void attribute_hidden +__svcerr_auth (SVCXPRT *xprt, enum auth_stat why) { struct rpc_msg rply; @@ -296,12 +297,13 @@ svcerr_auth (SVCXPRT *xprt, enum auth_stat why) rply.rjcted_rply.rj_why = why; SVC_REPLY (xprt, &rply); } +strong_alias(__svcerr_auth,svcerr_auth) /* Auth too weak error reply */ void svcerr_weakauth (SVCXPRT *xprt) { - svcerr_auth (xprt, AUTH_TOOWEAK); + __svcerr_auth (xprt, AUTH_TOOWEAK); } /* Program unavailable error reply */ @@ -446,7 +448,7 @@ svc_getreq_common (const int fd) } else if ((why = _authenticate (&r, &msg)) != AUTH_OK) { - svcerr_auth (xprt, why); + __svcerr_auth (xprt, why); goto call_done; } |