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 19:21:16 +0100 |
| commit | a7144c5b6b4c535f6995bfd4b43efdc9a55dc583 (patch) | |
| tree | aef9995d7584a3eaae2599634fa577691abf64a2 /src/threads.c | |
| parent | 5a8a2a56af6d1b2a5342083ef6130994dd373044 (diff) | |
| download | libssh-a7144c5b6b4c535f6995bfd4b43efdc9a55dc583.tar.gz libssh-a7144c5b6b4c535f6995bfd4b43efdc9a55dc583.tar.xz libssh-a7144c5b6b4c535f6995bfd4b43efdc9a55dc583.zip | |
proper prototypes
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
(cherry picked from commit 8b51d29363b050b74e786d7a58e18ef785a9c08e)
Diffstat (limited to 'src/threads.c')
| -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) |
