diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-09-15 13:51:02 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-09-15 13:51:02 +0000 |
commit | 8f5b4bd4f461a41e728944072460af706dd47a0b (patch) | |
tree | 40677e84020e80be559c2933f98a2ac14fde25a1 /lib/libc/rpc/xdr_stdio.c | |
parent | ce8e4cc18d0591021a891dc8c10d0bf046cfbec3 (diff) |
prototype cleanup
Diffstat (limited to 'lib/libc/rpc/xdr_stdio.c')
-rw-r--r-- | lib/libc/rpc/xdr_stdio.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/lib/libc/rpc/xdr_stdio.c b/lib/libc/rpc/xdr_stdio.c index c34ec63a349..902a7458fc2 100644 --- a/lib/libc/rpc/xdr_stdio.c +++ b/lib/libc/rpc/xdr_stdio.c @@ -28,7 +28,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: xdr_stdio.c,v 1.4 1996/09/15 09:31:44 tholo Exp $"; +static char *rcsid = "$OpenBSD: xdr_stdio.c,v 1.5 2001/09/15 13:51:01 deraadt Exp $"; #endif /* LIBC_SCCS and not lint */ /* @@ -45,14 +45,14 @@ static char *rcsid = "$OpenBSD: xdr_stdio.c,v 1.4 1996/09/15 09:31:44 tholo Exp #include <stdio.h> #include <rpc/xdr.h> -static bool_t xdrstdio_getlong(); -static bool_t xdrstdio_putlong(); -static bool_t xdrstdio_getbytes(); -static bool_t xdrstdio_putbytes(); -static u_int xdrstdio_getpos(); -static bool_t xdrstdio_setpos(); -static int32_t *xdrstdio_inline(); -static void xdrstdio_destroy(); +static bool_t xdrstdio_getlong(XDR *, long *); +static bool_t xdrstdio_putlong(XDR *, long *); +static bool_t xdrstdio_getbytes(XDR *, caddr_t, u_int); +static bool_t xdrstdio_putbytes(XDR *, caddr_t, u_int); +static u_int xdrstdio_getpos(XDR *); +static bool_t xdrstdio_setpos(XDR *, u_int); +static int32_t *xdrstdio_inline(XDR *, u_int); +static void xdrstdio_destroy(XDR *); /* * Ops vector for stdio type XDR @@ -75,7 +75,7 @@ static struct xdr_ops xdrstdio_ops = { */ void xdrstdio_create(xdrs, file, op) - register XDR *xdrs; + XDR *xdrs; FILE *file; enum xdr_op op; { @@ -93,7 +93,7 @@ xdrstdio_create(xdrs, file, op) */ static void xdrstdio_destroy(xdrs) - register XDR *xdrs; + XDR *xdrs; { (void)fflush((FILE *)xdrs->x_private); /* xx should we close the file ?? */ @@ -102,7 +102,7 @@ xdrstdio_destroy(xdrs) static bool_t xdrstdio_getlong(xdrs, lp) XDR *xdrs; - register long *lp; + long *lp; { if (fread((caddr_t)lp, sizeof(int32_t), 1, |