summaryrefslogtreecommitdiffstats
path: root/sys/lib/libkern/md5.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2002-03-14 01:26:25 +0000
committermillert <millert@openbsd.org>2002-03-14 01:26:25 +0000
commitc4071fd13883b3f74b90a411bbb39755a785aeaa (patch)
tree241e7c760222fac909b512d36156c6db1b610256 /sys/lib/libkern/md5.c
parentcompare pointers with NULL not 0 (diff)
downloadwireguard-openbsd-c4071fd13883b3f74b90a411bbb39755a785aeaa.tar.xz
wireguard-openbsd-c4071fd13883b3f74b90a411bbb39755a785aeaa.zip
First round of __P removal in sys
Diffstat (limited to 'sys/lib/libkern/md5.c')
-rw-r--r--sys/lib/libkern/md5.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/lib/libkern/md5.c b/sys/lib/libkern/md5.c
index 564c4a9895e..a332b1a836d 100644
--- a/sys/lib/libkern/md5.c
+++ b/sys/lib/libkern/md5.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: md5.c,v 1.7 2000/11/08 15:26:40 art Exp $ */
+/* $OpenBSD: md5.c,v 1.8 2002/03/14 01:27:07 millert Exp $ */
/*
* The rest of the code is derived from MD5C.C by RSADSI. Minor cosmetic
@@ -64,14 +64,14 @@ documentation and/or software.
#define S43 15
#define S44 21
-static void MD5Transform __P ((UINT4 [4], unsigned char [64]));
+static void MD5Transform(UINT4 [4], unsigned char [64]);
#if BYTE_ORDER == LITTLE_ENDIAN
#define Encode MD5_memcpy
#define Decode MD5_memcpy
#else
-static void Encode __P ((unsigned char *, UINT4 *, unsigned int));
-static void Decode __P ((UINT4 *, unsigned char *, unsigned int));
+static void Encode(unsigned char *, UINT4 *, unsigned int);
+static void Decode(UINT4 *, unsigned char *, unsigned int);
#endif
#ifdef HAVEMEMCOPY
@@ -83,8 +83,8 @@ static void Decode __P ((UINT4 *, unsigned char *, unsigned int));
#define MD5_memcpy(_a,_b,_c) bcopy((_b),(_a),(_c))
#define MD5_memset(_a,_b,_c) bzero((_a),(_c))
#else
-static void MD5_memcpy __P ((POINTER, POINTER, unsigned int));
-static void MD5_memset __P ((POINTER, int, unsigned int));
+static void MD5_memcpy(POINTER, POINTER, unsigned int);
+static void MD5_memset(POINTER, int, unsigned int);
#endif
#endif
static unsigned char PADDING[64] = {