aboutsummaryrefslogtreecommitdiff
path: root/src/threads.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/threads.c')
-rw-r--r--src/threads.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/threads.c b/src/threads.c
index 191b3b64..52d437df 100644
--- a/src/threads.c
+++ b/src/threads.c
@@ -132,7 +132,10 @@ static int libmbedcrypto_thread_init(void)
static void **libcrypto_mutexes;
-static void libcrypto_lock_callback(int mode, int i, const char *file, int line){
+void libcrypto_lock_callback(int mode, int i, const char *file, int line);
+
+void libcrypto_lock_callback(int mode, int i, const char *file, int line)
+{
(void)file;
(void)line;
if(mode & CRYPTO_LOCK){