aboutsummaryrefslogtreecommitdiff
path: root/lib/vtls/polarssl_threadlock.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2015-10-23 16:14:29 +0200
committerDaniel Stenberg <daniel@haxx.se>2015-10-23 16:14:29 +0200
commit03b6e078163f9e217256f9b3a304fa5b949b134f (patch)
treeec71dff0c4d240988d003a29faa81e3beb181e5d /lib/vtls/polarssl_threadlock.c
parent6288cb930461e3068c623dc8c075ace55474fdab (diff)
polarssl/mbedtls: fix name space pollution
Global private symbols MUST start with Curl_!
Diffstat (limited to 'lib/vtls/polarssl_threadlock.c')
-rw-r--r--lib/vtls/polarssl_threadlock.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/vtls/polarssl_threadlock.c b/lib/vtls/polarssl_threadlock.c
index dd672b5cb..70b4e66c5 100644
--- a/lib/vtls/polarssl_threadlock.c
+++ b/lib/vtls/polarssl_threadlock.c
@@ -5,8 +5,8 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
+ * Copyright (C) 2013-2015, Daniel Stenberg, <daniel@haxx.se>, et al.
* Copyright (C) 2010, 2011, Hoi-Ho Chan, <hoiho.chan@gmail.com>
- * Copyright (C) 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -47,7 +47,7 @@
/* This array will store all of the mutexes available to PolarSSL. */
static POLARSSL_MUTEX_T *mutex_buf = NULL;
-int polarsslthreadlock_thread_setup(void)
+int Curl_polarsslthreadlock_thread_setup(void)
{
int i;
int ret;
@@ -73,7 +73,7 @@ int polarsslthreadlock_thread_setup(void)
return 1; /* OK */
}
-int polarsslthreadlock_thread_cleanup(void)
+int Curl_polarsslthreadlock_thread_cleanup(void)
{
int i;
int ret;
@@ -100,7 +100,7 @@ int polarsslthreadlock_thread_cleanup(void)
return 1; /* OK */
}
-int polarsslthreadlock_lock_function(int n)
+int Curl_polarsslthreadlock_lock_function(int n)
{
int ret;
#ifdef HAVE_PTHREAD_H
@@ -125,7 +125,7 @@ int polarsslthreadlock_lock_function(int n)
return 1; /* OK */
}
-int polarsslthreadlock_unlock_function(int n)
+int Curl_polarsslthreadlock_unlock_function(int n)
{
int ret;
#ifdef HAVE_PTHREAD_H