From 8b51d29363b050b74e786d7a58e18ef785a9c08e Mon Sep 17 00:00:00 2001 From: "Bernhard R. Link" Date: Fri, 11 Feb 2011 23:01:37 +0100 Subject: proper prototypes Signed-off-by: Andreas Schneider --- src/threads.c | 4 ++-- 1 file 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) -- cgit v1.2.3