diff options
author | bapt <bapt@FreeBSD.org> | 2015-10-13 19:44:36 +0000 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2015-10-13 19:44:36 +0000 |
commit | c8d6d4a78596005d50c30c7ab4f623a601ef0b39 (patch) | |
tree | e5218cae2f48913719be46210d8d92085cb2511f /lib/libc/rpc/svc_auth.c | |
parent | 2a77c3b71d27973d4ffac086902715be69266202 (diff) | |
parent | 384c892651c52e57063356328dfcd28914bc4b15 (diff) | |
download | FreeBSD-src-c8d6d4a78596005d50c30c7ab4f623a601ef0b39.zip FreeBSD-src-c8d6d4a78596005d50c30c7ab4f623a601ef0b39.tar.gz |
Merge from head
Diffstat (limited to 'lib/libc/rpc/svc_auth.c')
-rw-r--r-- | lib/libc/rpc/svc_auth.c | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/lib/libc/rpc/svc_auth.c b/lib/libc/rpc/svc_auth.c index 2068529..58435af 100644 --- a/lib/libc/rpc/svc_auth.c +++ b/lib/libc/rpc/svc_auth.c @@ -95,9 +95,7 @@ struct svc_auth_ops svc_auth_null_ops; * invalid. */ enum auth_stat -_authenticate(rqst, msg) - struct svc_req *rqst; - struct rpc_msg *msg; +_authenticate(struct svc_req *rqst, struct rpc_msg *msg) { int cred_flavor; struct authsvc *asp; @@ -151,11 +149,7 @@ _authenticate(rqst, msg) * that don't need to inspect or modify the message body. */ static bool_t -svcauth_null_wrap(auth, xdrs, xdr_func, xdr_ptr) - SVCAUTH *auth; - XDR *xdrs; - xdrproc_t xdr_func; - caddr_t xdr_ptr; +svcauth_null_wrap(SVCAUTH *auth, XDR *xdrs, xdrproc_t xdr_func, caddr_t xdr_ptr) { return (xdr_func(xdrs, xdr_ptr)); @@ -168,9 +162,7 @@ struct svc_auth_ops svc_auth_null_ops = { /*ARGSUSED*/ enum auth_stat -_svcauth_null(rqst, msg) - struct svc_req *rqst; - struct rpc_msg *msg; +_svcauth_null(struct svc_req *rqst, struct rpc_msg *msg) { return (AUTH_OK); } @@ -190,9 +182,8 @@ _svcauth_null(rqst, msg) */ int -svc_auth_reg(cred_flavor, handler) - int cred_flavor; - enum auth_stat (*handler)(struct svc_req *, struct rpc_msg *); +svc_auth_reg(int cred_flavor, + enum auth_stat (*handler)(struct svc_req *, struct rpc_msg *)) { struct authsvc *asp; |