summaryrefslogtreecommitdiffstats
path: root/lib/libc/rpc/svc_auth.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2001-09-15 13:51:00 +0000
committerderaadt <deraadt@openbsd.org>2001-09-15 13:51:00 +0000
commit41aa8645fbcd1fbed586890d01ec7178a02474bd (patch)
tree5798f3567439e1e9c5532dd6a617d3fb556f8c4f /lib/libc/rpc/svc_auth.c
parentRewrite of powerpc pmap_page_protect(), the old version had a couple of (diff)
downloadwireguard-openbsd-41aa8645fbcd1fbed586890d01ec7178a02474bd.tar.xz
wireguard-openbsd-41aa8645fbcd1fbed586890d01ec7178a02474bd.zip
prototype cleanup
Diffstat (limited to 'lib/libc/rpc/svc_auth.c')
-rw-r--r--lib/libc/rpc/svc_auth.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libc/rpc/svc_auth.c b/lib/libc/rpc/svc_auth.c
index ba4d82d1d8e..1e96ccbfb56 100644
--- a/lib/libc/rpc/svc_auth.c
+++ b/lib/libc/rpc/svc_auth.c
@@ -28,7 +28,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: svc_auth.c,v 1.4 1998/03/19 00:27:22 millert Exp $";
+static char *rcsid = "$OpenBSD: svc_auth.c,v 1.5 2001/09/15 13:51:01 deraadt Exp $";
#endif /* LIBC_SCCS and not lint */
/*
@@ -50,8 +50,8 @@ static char *rcsid = "$OpenBSD: svc_auth.c,v 1.4 1998/03/19 00:27:22 millert Exp
*
* enum auth_stat
* flavorx_auth(rqst, msg)
- * register struct svc_req *rqst;
- * register struct rpc_msg *msg;
+ * struct svc_req *rqst;
+ * struct rpc_msg *msg;
*
*/
@@ -89,10 +89,10 @@ static struct {
*/
enum auth_stat
_authenticate(rqst, msg)
- register struct svc_req *rqst;
+ struct svc_req *rqst;
struct rpc_msg *msg;
{
- register int cred_flavor;
+ int cred_flavor;
rqst->rq_cred = msg->rm_call.cb_cred;
rqst->rq_xprt->xp_verf.oa_flavor = _null_auth.oa_flavor;