diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-08-29 18:57:19 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-08-29 18:57:19 +0000 |
commit | 79c215bbdf655d5e8b7291acc4eefac3ce2cb3b8 (patch) | |
tree | 33a528659d60593c65d0dd8e1a981cb99a267631 | |
parent | 204291d07ddd6a878cc933c6796f25501efb5fc8 (diff) |
change pmap_set() protocol to u_int, similar to solaris; ref: casper
-rw-r--r-- | include/rpc/pmap_clnt.h | 4 | ||||
-rw-r--r-- | lib/libc/rpc/pmap_clnt.c | 4 | ||||
-rw-r--r-- | lib/libc/rpc/rpc.3 | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/include/rpc/pmap_clnt.h b/include/rpc/pmap_clnt.h index 5ef04bedef9..d3b5883f690 100644 --- a/include/rpc/pmap_clnt.h +++ b/include/rpc/pmap_clnt.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap_clnt.h,v 1.2 1997/09/21 10:46:11 niklas Exp $ */ +/* $OpenBSD: pmap_clnt.h,v 1.3 1998/08/29 18:57:14 deraadt Exp $ */ /* $NetBSD: pmap_clnt.h,v 1.5 1994/12/04 01:12:42 cgd Exp $ */ /* @@ -67,7 +67,7 @@ #include <sys/cdefs.h> __BEGIN_DECLS -extern bool_t pmap_set __P((u_long, u_long, int, int)); +extern bool_t pmap_set __P((u_long, u_long, u_int, int)); extern bool_t pmap_unset __P((u_long, u_long)); extern struct pmaplist *pmap_getmaps __P((struct sockaddr_in *)); extern enum clnt_stat pmap_rmtcall __P((struct sockaddr_in *, diff --git a/lib/libc/rpc/pmap_clnt.c b/lib/libc/rpc/pmap_clnt.c index 0c7687b7c61..3cb3cafdfb6 100644 --- a/lib/libc/rpc/pmap_clnt.c +++ b/lib/libc/rpc/pmap_clnt.c @@ -28,7 +28,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: pmap_clnt.c,v 1.8 1997/09/22 05:11:08 millert Exp $"; +static char *rcsid = "$OpenBSD: pmap_clnt.c,v 1.9 1998/08/29 18:57:17 deraadt Exp $"; #endif /* LIBC_SCCS and not lint */ /* @@ -57,7 +57,7 @@ bool_t pmap_set(program, version, protocol, port) u_long program; u_long version; - int protocol; + u_int protocol; u_short port; { struct sockaddr_in myaddress; diff --git a/lib/libc/rpc/rpc.3 b/lib/libc/rpc/rpc.3 index 2f045f5edb3..5f1e663d5bf 100644 --- a/lib/libc/rpc/rpc.3 +++ b/lib/libc/rpc/rpc.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: rpc.3,v 1.10 1998/03/11 18:55:40 deraadt Exp $ +.\" $OpenBSD: rpc.3,v 1.11 1998/08/29 18:57:18 deraadt Exp $ .\" Mostly converted to mandoc by Theo de Raadt, Tue Feb 24 04:04:46 MST 1998 .\" .Dd February 16, 1988 @@ -111,7 +111,7 @@ .Ft "enum clnt_stat" .Fn pmap_rmtcall "struct sockaddr_in *" "u_long prog, vers, proc" "xdrproc_t inp" "char *in" "xdrproc_t outp" "char *out" "struct timeval tv" "u_long *portp" .Ft int -.Fn pmap_set "u_long prognum" "u_long versnum" "u_long protocol" "u_short port" +.Fn pmap_set "u_long prognum" "u_long versnum" "u_int protocol" "u_short port" .Ft int .Fn pmap_unset "u_long prognum" "u_long versnum" .Ft int |