diff options
author | Bernhard R. Link <brlink@debian.org> | 2011-02-11 23:01:37 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2011-02-12 12:26:33 +0100 |
commit | 8b51d29363b050b74e786d7a58e18ef785a9c08e (patch) | |
tree | 00daeb6873eaab190f9790fd2474056c34f7e8af /src | |
parent | cc76a192dfcb8c462db3e9e466e3e4b0b52b7e66 (diff) | |
download | libssh-8b51d29363b050b74e786d7a58e18ef785a9c08e.tar.gz libssh-8b51d29363b050b74e786d7a58e18ef785a9c08e.tar.xz libssh-8b51d29363b050b74e786d7a58e18ef785a9c08e.zip |
proper prototypes
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/threads.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/threads.c b/src/threads.c index 64b413b7..c654456e 100644 --- a/src/threads.c +++ b/src/threads.c @@ -92,7 +92,7 @@ static void libcrypto_lock_callback(int mode, int i, const char *file, int line) } } -static int libcrypto_thread_init(){ +static int libcrypto_thread_init(void){ int n=CRYPTO_num_locks(); int i; if(user_callbacks == &ssh_threads_noop) @@ -109,7 +109,7 @@ static int libcrypto_thread_init(){ return SSH_OK; } -static void libcrypto_thread_finalize(){ +static void libcrypto_thread_finalize(void){ int n=CRYPTO_num_locks(); int i; if (libcrypto_mutexes==NULL) |