summaryrefslogtreecommitdiffstats
path: root/lib/libc/rpc/svc_auth_unix.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_unix.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_unix.c')
-rw-r--r--lib/libc/rpc/svc_auth_unix.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/libc/rpc/svc_auth_unix.c b/lib/libc/rpc/svc_auth_unix.c
index 8ec75d05cea..bf3f98c765b 100644
--- a/lib/libc/rpc/svc_auth_unix.c
+++ b/lib/libc/rpc/svc_auth_unix.c
@@ -28,7 +28,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: svc_auth_unix.c,v 1.6 1998/11/22 07:38:25 deraadt Exp $";
+static char *rcsid = "$OpenBSD: svc_auth_unix.c,v 1.7 2001/09/15 13:51:01 deraadt Exp $";
#endif /* LIBC_SCCS and not lint */
/*
@@ -51,13 +51,13 @@ static char *rcsid = "$OpenBSD: svc_auth_unix.c,v 1.6 1998/11/22 07:38:25 deraad
*/
enum auth_stat
_svcauth_unix(rqst, msg)
- register struct svc_req *rqst;
- register struct rpc_msg *msg;
+ struct svc_req *rqst;
+ struct rpc_msg *msg;
{
- register enum auth_stat stat;
+ enum auth_stat stat;
XDR xdrs;
- register struct authunix_parms *aup;
- register int32_t *buf;
+ struct authunix_parms *aup;
+ int32_t *buf;
struct area {
struct authunix_parms area_aup;
char area_machname[MAX_MACHINE_NAME+1];
@@ -65,7 +65,7 @@ _svcauth_unix(rqst, msg)
} *area;
u_int auth_len;
u_int str_len, gid_len;
- register u_int i;
+ u_int i;
area = (struct area *) rqst->rq_clntcred;
aup = &area->area_aup;