diff options
| author | matt <matt@NetBSD.org> | 2012-03-21 05:33:26 +0000 |
|---|---|---|
| committer | matt <matt@NetBSD.org> | 2012-03-21 05:33:26 +0000 |
| commit | 8c1dba6cdf263fceab784c4bcd2d12820cbb4aca (patch) | |
| tree | 6fb5576d4414201284d40d0fd17a533346bf051f /lib/libcrypt/bcrypt.c | |
| parent | c4b5fbe2c5bd37e7026669d5a24bbe233f5b1708 (diff) | |
Use C89 functions definitions.
Remove use of __P
Diffstat (limited to 'lib/libcrypt/bcrypt.c')
| -rw-r--r-- | lib/libcrypt/bcrypt.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/libcrypt/bcrypt.c b/lib/libcrypt/bcrypt.c index f55fa189272..8cd559e8d55 100644 --- a/lib/libcrypt/bcrypt.c +++ b/lib/libcrypt/bcrypt.c @@ -1,4 +1,4 @@ -/* $NetBSD: bcrypt.c,v 1.15 2011/12/28 03:12:38 christos Exp $ */ +/* $NetBSD: bcrypt.c,v 1.16 2012/03/21 05:33:26 matt Exp $ */ /* $OpenBSD: bcrypt.c,v 1.16 2002/02/19 19:39:36 millert Exp $ */ /* @@ -46,7 +46,7 @@ * */ #include <sys/cdefs.h> -__RCSID("$NetBSD: bcrypt.c,v 1.15 2011/12/28 03:12:38 christos Exp $"); +__RCSID("$NetBSD: bcrypt.c,v 1.16 2012/03/21 05:33:26 matt Exp $"); #include <stdio.h> #include <stdlib.h> @@ -210,9 +210,7 @@ bcrypt_gensalt(u_int8_t log_rounds) i.e. $2$04$iwouldntknowwhattosayetKdJ6iFtacBqJdKe6aW7ou */ char * -__bcrypt(key, salt) - const char *key; - const char *salt; +__bcrypt(const char *key, const char *salt) { blf_ctx state; u_int32_t rounds, i, k; |
