summaryrefslogtreecommitdiff
path: root/src/lib/libc/crypt/crypt.c
diff options
context:
space:
mode:
authormillert <>2002-02-16 21:27:50 +0000
committermillert <>2002-02-16 21:27:50 +0000
commit052e020be6be85be6238c44b8386a61f8db7b6a4 (patch)
tree4cf8f905bd37027527533678516a258fa89e2696 /src/lib/libc/crypt/crypt.c
parentee0af55ed65515812050f3b9a8d431c941b73eb8 (diff)
downloadopenbsd-052e020be6be85be6238c44b8386a61f8db7b6a4.tar.gz
openbsd-052e020be6be85be6238c44b8386a61f8db7b6a4.tar.bz2
openbsd-052e020be6be85be6238c44b8386a61f8db7b6a4.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 'src/lib/libc/crypt/crypt.c')
-rw-r--r--src/lib/libc/crypt/crypt.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libc/crypt/crypt.c b/src/lib/libc/crypt/crypt.c
index d1a342c178..6a0b6243fe 100644
--- a/src/lib/libc/crypt/crypt.c
+++ b/src/lib/libc/crypt/crypt.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: crypt.c,v 1.14 2001/06/27 00:58:53 lebel Exp $ */ 1/* $OpenBSD: crypt.c,v 1.15 2002/02/16 21:27:21 millert Exp $ */
2 2
3/* 3/*
4 * FreeSec: libcrypt 4 * FreeSec: libcrypt
@@ -52,7 +52,7 @@
52 */ 52 */
53 53
54#if defined(LIBC_SCCS) && !defined(lint) 54#if defined(LIBC_SCCS) && !defined(lint)
55static char rcsid[] = "$OpenBSD: crypt.c,v 1.14 2001/06/27 00:58:53 lebel Exp $"; 55static char rcsid[] = "$OpenBSD: crypt.c,v 1.15 2002/02/16 21:27:21 millert Exp $";
56#endif /* LIBC_SCCS and not lint */ 56#endif /* LIBC_SCCS and not lint */
57 57
58#include <sys/types.h> 58#include <sys/types.h>
@@ -594,8 +594,8 @@ crypt(key, setting)
594 u_int32_t count, salt, l, r0, r1, keybuf[2]; 594 u_int32_t count, salt, l, r0, r1, keybuf[2];
595 u_char *p, *q; 595 u_char *p, *q;
596 static u_char output[21]; 596 static u_char output[21];
597 extern char *md5crypt __P((const char *, const char *)); 597 extern char *md5crypt(const char *, const char *);
598 extern char *bcrypt __P((const char *, const char *)); 598 extern char *bcrypt(const char *, const char *);
599 599
600 if (setting[0] == '$') { 600 if (setting[0] == '$') {
601 switch (setting[1]) { 601 switch (setting[1]) {