summaryrefslogtreecommitdiffstats
path: root/lib/libc/rpc/xdr_reference.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/xdr_reference.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/xdr_reference.c')
-rw-r--r--lib/libc/rpc/xdr_reference.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libc/rpc/xdr_reference.c b/lib/libc/rpc/xdr_reference.c
index 5276e7c6c42..0cc8df8030f 100644
--- a/lib/libc/rpc/xdr_reference.c
+++ b/lib/libc/rpc/xdr_reference.c
@@ -28,7 +28,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: xdr_reference.c,v 1.3 1996/08/19 08:32:06 tholo Exp $";
+static char *rcsid = "$OpenBSD: xdr_reference.c,v 1.4 2001/09/15 13:51:01 deraadt Exp $";
#endif /* LIBC_SCCS and not lint */
/*
@@ -57,13 +57,13 @@ static char *rcsid = "$OpenBSD: xdr_reference.c,v 1.3 1996/08/19 08:32:06 tholo
*/
bool_t
xdr_reference(xdrs, pp, size, proc)
- register XDR *xdrs;
+ XDR *xdrs;
caddr_t *pp; /* the pointer to work on */
u_int size; /* size of the object pointed to */
xdrproc_t proc; /* xdr routine to handle the object */
{
- register caddr_t loc = *pp;
- register bool_t stat;
+ caddr_t loc = *pp;
+ bool_t stat;
if (loc == NULL)
switch (xdrs->x_op) {
@@ -112,7 +112,7 @@ xdr_reference(xdrs, pp, size, proc)
*/
bool_t
xdr_pointer(xdrs,objpp,obj_size,xdr_obj)
- register XDR *xdrs;
+ XDR *xdrs;
char **objpp;
u_int obj_size;
xdrproc_t xdr_obj;