aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2012-02-18 12:24:17 +0100
committerAndreas Schneider <asn@cryptomilk.org>2012-02-19 13:26:02 +0100
commite68b763a67227c88d2389da4dd0c023a0f4e497e (patch)
tree2363df817b560c07af878fb5d59836372216949f
parent72db38b31dbaf9196bf611e5a957d26859e61812 (diff)
downloadlibssh-e68b763a67227c88d2389da4dd0c023a0f4e497e.tar.gz
libssh-e68b763a67227c88d2389da4dd0c023a0f4e497e.tar.xz
libssh-e68b763a67227c88d2389da4dd0c023a0f4e497e.zip
threads: Make libcrypto_mutexes static.
Fixes sparse warnings.
-rw-r--r--src/threads.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/threads.c b/src/threads.c
index 029ebdd..107c65d 100644
--- a/src/threads.c
+++ b/src/threads.c
@@ -83,7 +83,7 @@ static int libgcrypt_thread_init(void){
/* Libcrypto specific stuff */
-void **libcrypto_mutexes;
+static void **libcrypto_mutexes;
static void libcrypto_lock_callback(int mode, int i, const char *file, int line){
(void)file;