diff options
author | 2013-04-17 17:40:35 +0000 | |
---|---|---|
committer | 2013-04-17 17:40:35 +0000 | |
commit | 928cef96820a77291fe483e919fcbcc7abcb3319 (patch) | |
tree | 6d2f17e88a0caab51454d7a136558371549f03ca /lib/libc/crypt/crypt2.c | |
parent | silence some warnings by adding prototypes, casts, and headers as (diff) | |
download | wireguard-openbsd-928cef96820a77291fe483e919fcbcc7abcb3319.tar.xz wireguard-openbsd-928cef96820a77291fe483e919fcbcc7abcb3319.zip |
add some prototypes, casts, includes, parenthesis, and whatnot to
silence some warnings.
Diffstat (limited to 'lib/libc/crypt/crypt2.c')
-rw-r--r-- | lib/libc/crypt/crypt2.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libc/crypt/crypt2.c b/lib/libc/crypt/crypt2.c index 63a297e510d..f31818ae2b1 100644 --- a/lib/libc/crypt/crypt2.c +++ b/lib/libc/crypt/crypt2.c @@ -1,4 +1,4 @@ -/* $OpenBSD: crypt2.c,v 1.3 2005/08/08 08:05:33 espie Exp $ */ +/* $OpenBSD: crypt2.c,v 1.4 2013/04/17 17:40:35 tedu Exp $ */ /* * FreeSec: libcrypt @@ -59,6 +59,9 @@ extern const u_char _des_bits8[8]; extern const u_int32_t _des_bits32[32]; extern int _des_initialised; +void _des_init(void); +void _des_setup_salt(int32_t salt); +int _des_do_des(u_int32_t , u_int32_t , u_int32_t *, u_int32_t *, int); int setkey(const char *key) |