summaryrefslogtreecommitdiffstats
path: root/lib/libc/md
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2002-02-16 21:27:05 +0000
committermillert <millert@openbsd.org>2002-02-16 21:27:05 +0000
commitc72b5b24e14c03dd8b22104fbae0d3921fa2aa37 (patch)
tree1ac67aab11df5f96856c0e3015d691db7dc9e811 /lib/libc/md
parentdefault to rsa keyfile path for non key generation operations where (diff)
downloadwireguard-openbsd-c72b5b24e14c03dd8b22104fbae0d3921fa2aa37.tar.xz
wireguard-openbsd-c72b5b24e14c03dd8b22104fbae0d3921fa2aa37.zip
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
Diffstat (limited to 'lib/libc/md')
-rw-r--r--lib/libc/md/md4c.c6
-rw-r--r--lib/libc/md/md5c.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/lib/libc/md/md4c.c b/lib/libc/md/md4c.c
index 63131d8ed79..bcfe702b421 100644
--- a/lib/libc/md/md4c.c
+++ b/lib/libc/md/md4c.c
@@ -22,7 +22,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: md4c.c,v 1.12 2000/03/28 17:35:09 millert Exp $";
+static char rcsid[] = "$OpenBSD: md4c.c,v 1.13 2002/02/16 21:27:23 millert Exp $";
#endif /* LIBC_SCCS and not lint */
#include <string.h>
@@ -51,8 +51,8 @@ typedef unsigned char *POINTER;
#define Encode memcpy
#define Decode memcpy
#else /* BIG_ENDIAN */
-static void Encode __P ((void *, const void *, size_t));
-static void Decode __P ((void *, const void *, size_t));
+static void Encode(void *, const void *, size_t);
+static void Decode(void *, const void *, size_t);
#endif /* LITTLE_ENDIAN */
static unsigned char PADDING[64] = {
diff --git a/lib/libc/md/md5c.c b/lib/libc/md/md5c.c
index d4c57966b38..a14c42d153c 100644
--- a/lib/libc/md/md5c.c
+++ b/lib/libc/md/md5c.c
@@ -23,7 +23,7 @@ documentation and/or software.
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: md5c.c,v 1.12 2000/03/28 17:35:09 millert Exp $";
+static char rcsid[] = "$OpenBSD: md5c.c,v 1.13 2002/02/16 21:27:23 millert Exp $";
#endif /* LIBC_SCCS and not lint */
#include <string.h>
@@ -56,8 +56,8 @@ typedef unsigned char *POINTER;
#define Encode memcpy
#define Decode memcpy
#else /* BIG_ENDIAN */
-static void Encode __P((void *, const void *, size_t));
-static void Decode __P((void *, const void *, size_t));
+static void Encode(void *, const void *, size_t);
+static void Decode(void *, const void *, size_t);
#endif /* LITTLE_ENDIAN */
static unsigned char PADDING[64] = {