summaryrefslogtreecommitdiffstats
path: root/include/rpc
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1998-02-10 06:25:32 +0000
committerderaadt <deraadt@openbsd.org>1998-02-10 06:25:32 +0000
commit43dc1aedc3775b6f6b0789ce6e7c078faddb1544 (patch)
tree60196a66c9752e1daafb701c05dca8faed9a4d52 /include/rpc
parentsync w/netbsd (diff)
downloadwireguard-openbsd-43dc1aedc3775b6f6b0789ce6e7c078faddb1544.tar.xz
wireguard-openbsd-43dc1aedc3775b6f6b0789ce6e7c078faddb1544.zip
pretty some types, real minor
Diffstat (limited to 'include/rpc')
-rw-r--r--include/rpc/pmap_prot.h14
-rw-r--r--include/rpc/rpc_des.h4
2 files changed, 9 insertions, 9 deletions
diff --git a/include/rpc/pmap_prot.h b/include/rpc/pmap_prot.h
index eb1266c7a41..4b96be75714 100644
--- a/include/rpc/pmap_prot.h
+++ b/include/rpc/pmap_prot.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap_prot.h,v 1.2 1997/09/21 10:46:12 niklas Exp $ */
+/* $OpenBSD: pmap_prot.h,v 1.3 1998/02/10 06:25:32 deraadt Exp $ */
/* $NetBSD: pmap_prot.h,v 1.4 1994/10/26 00:57:00 cgd Exp $ */
/*
@@ -52,13 +52,13 @@
* TRUE is success, FALSE is failure. Un-registers pair
* [prog, vers]. prot and port are ignored.
*
- * PMAPPROC_GETPORT(struct pmap) returns (long unsigned).
+ * PMAPPROC_GETPORT(struct pmap) returns (unsigned long).
* 0 is failure. Otherwise returns the port number where the pair
* [prog, vers] is registered. It may lie!
*
* PMAPPROC_DUMP() RETURNS (struct pmaplist *)
*
- * PMAPPROC_CALLIT(unsigned, unsigned, unsigned, string<>)
+ * PMAPPROC_CALLIT(unsigned int, unsigned int, unsigned int, string<>)
* RETURNS (port, string<>);
* usage: encapsulatedresults = PMAPPROC_CALLIT(prog, vers, proc, encapsulatedargs);
* Calls the procedure on the local machine. If it is not registered,
@@ -87,10 +87,10 @@
#define PMAPPROC_CALLIT ((u_long)5)
struct pmap {
- long unsigned pm_prog;
- long unsigned pm_vers;
- long unsigned pm_prot;
- long unsigned pm_port;
+ unsigned long pm_prog;
+ unsigned long pm_vers;
+ unsigned long pm_prot;
+ unsigned long pm_port;
};
struct pmaplist {
diff --git a/include/rpc/rpc_des.h b/include/rpc/rpc_des.h
index 3622f3b851b..62e91a3237d 100644
--- a/include/rpc/rpc_des.h
+++ b/include/rpc/rpc_des.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: rpc_des.h,v 1.2 1997/09/21 10:46:14 niklas Exp $ */
+/* $OpenBSD: rpc_des.h,v 1.3 1998/02/10 06:25:33 deraadt Exp $ */
/* crypto/des/rpc_des.h */
/* Copyright (C) 1995-1997 Eric Young (eay@mincom.oz.au)
@@ -112,7 +112,7 @@ struct desparams {
enum desdir des_dir; /* direction */
enum desmode des_mode; /* mode */
unsigned char des_ivec[8]; /* input vector */
- unsigned des_len; /* number of bytes to crypt */
+ unsigned int des_len; /* number of bytes to crypt */
union {
unsigned char UDES_data[DES_QUICKLEN];
unsigned char *UDES_buf;