summaryrefslogtreecommitdiff
path: root/libc/inet/rpc/svc_auth.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/inet/rpc/svc_auth.c')
-rw-r--r--libc/inet/rpc/svc_auth.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/libc/inet/rpc/svc_auth.c b/libc/inet/rpc/svc_auth.c
index 812463396..0e4f85436 100644
--- a/libc/inet/rpc/svc_auth.c
+++ b/libc/inet/rpc/svc_auth.c
@@ -101,8 +101,8 @@ svcauthsw[] =
* There is an assumption that any flavour less than AUTH_NULL is
* invalid.
*/
-enum auth_stat attribute_hidden
-_authenticate_internal (register struct svc_req *rqst, struct rpc_msg *msg)
+enum auth_stat
+_authenticate (register struct svc_req *rqst, struct rpc_msg *msg)
{
register int cred_flavor;
@@ -115,7 +115,8 @@ _authenticate_internal (register struct svc_req *rqst, struct rpc_msg *msg)
return AUTH_REJECTEDCRED;
}
-strong_alias(_authenticate_internal,_authenticate)
+libc_hidden_proto(_authenticate)
+libc_hidden_def(_authenticate)
static enum auth_stat
_svcauth_null (struct svc_req *rqst attribute_unused, struct rpc_msg *msg attribute_unused)