summaryrefslogtreecommitdiff
path: root/lib/libc/rpc/pmap_rmt.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-09-15 13:51:02 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-09-15 13:51:02 +0000
commit8f5b4bd4f461a41e728944072460af706dd47a0b (patch)
tree40677e84020e80be559c2933f98a2ac14fde25a1 /lib/libc/rpc/pmap_rmt.c
parentce8e4cc18d0591021a891dc8c10d0bf046cfbec3 (diff)
prototype cleanup
Diffstat (limited to 'lib/libc/rpc/pmap_rmt.c')
-rw-r--r--lib/libc/rpc/pmap_rmt.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/libc/rpc/pmap_rmt.c b/lib/libc/rpc/pmap_rmt.c
index 9871ae44ab1..0183696dd44 100644
--- a/lib/libc/rpc/pmap_rmt.c
+++ b/lib/libc/rpc/pmap_rmt.c
@@ -28,7 +28,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: pmap_rmt.c,v 1.18 2000/08/24 17:03:15 deraadt Exp $";
+static char *rcsid = "$OpenBSD: pmap_rmt.c,v 1.19 2001/09/15 13:51:01 deraadt Exp $";
#endif /* LIBC_SCCS and not lint */
/*
@@ -75,7 +75,7 @@ pmap_rmtcall(addr, prog, vers, proc, xdrargs, argsp, xdrres, resp, tout, port_pt
u_long *port_ptr;
{
int sock = -1;
- register CLIENT *client;
+ CLIENT *client;
struct rmtcallargs a;
struct rmtcallres r;
enum clnt_stat stat;
@@ -110,8 +110,8 @@ pmap_rmtcall(addr, prog, vers, proc, xdrargs, argsp, xdrres, resp, tout, port_pt
*/
bool_t
xdr_rmtcall_args(xdrs, cap)
- register XDR *xdrs;
- register struct rmtcallargs *cap;
+ XDR *xdrs;
+ struct rmtcallargs *cap;
{
u_int lenposition, argposition, position;
@@ -141,8 +141,8 @@ xdr_rmtcall_args(xdrs, cap)
*/
bool_t
xdr_rmtcallres(xdrs, crp)
- register XDR *xdrs;
- register struct rmtcallres *crp;
+ XDR *xdrs;
+ struct rmtcallres *crp;
{
caddr_t port_ptr;
@@ -228,14 +228,14 @@ clnt_broadcast(prog, vers, proc, xargs, argsp, xresults, resultsp, eachresult)
enum clnt_stat stat;
AUTH *unix_auth = authunix_create_default();
XDR xdr_stream;
- register XDR *xdrs = &xdr_stream;
+ XDR *xdrs = &xdr_stream;
int outlen, inlen, fromlen, nets;
- register int sock = -1;
+ int sock = -1;
int on = 1;
fd_set *fds = NULL, readfds;
- register int i;
+ int i;
bool_t done = FALSE;
- register u_long xid;
+ u_long xid;
u_long port;
struct in_addr *addrs;
struct sockaddr_in baddr, raddr; /* broadcast and response addresses */