mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-04 12:20:42 +09:00
proper prototypes
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
(cherry picked from commit 8b51d29363)
This commit is contained in:
committed by
Andreas Schneider
parent
5a8a2a56af
commit
a7144c5b6b
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user