summaryrefslogtreecommitdiff
path: root/lib/vtls/polarssl_threadlock.h
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.h
parent6288cb930461e3068c623dc8c075ace55474fdab (diff)
downloadcurl-03b6e078163f9e217256f9b3a304fa5b949b134f.tar.gz
polarssl/mbedtls: fix name space pollution
Global private symbols MUST start with Curl_!
Diffstat (limited to 'lib/vtls/polarssl_threadlock.h')
-rw-r--r--lib/vtls/polarssl_threadlock.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/vtls/polarssl_threadlock.h b/lib/vtls/polarssl_threadlock.h
index 461479911..6e04aa0dc 100644
--- a/lib/vtls/polarssl_threadlock.h
+++ b/lib/vtls/polarssl_threadlock.h
@@ -7,8 +7,8 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
+ * Copyright (C) 2013-2015, Daniel Stenberg, <daniel@haxx.se>, et al.
* Copyright (C) 2010, 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
@@ -34,17 +34,17 @@
#if defined(USE_THREADS_POSIX) || defined(USE_THREADS_WIN32)
-int polarsslthreadlock_thread_setup(void);
-int polarsslthreadlock_thread_cleanup(void);
-int polarsslthreadlock_lock_function(int n);
-int polarsslthreadlock_unlock_function(int n);
+int Curl_polarsslthreadlock_thread_setup(void);
+int Curl_polarsslthreadlock_thread_cleanup(void);
+int Curl_polarsslthreadlock_lock_function(int n);
+int Curl_polarsslthreadlock_unlock_function(int n);
#else
-#define polarsslthreadlock_thread_setup() 1
-#define polarsslthreadlock_thread_cleanup() 1
-#define polarsslthreadlock_lock_function(x) 1
-#define polarsslthreadlock_unlock_function(x) 1
+#define Curl_polarsslthreadlock_thread_setup() 1
+#define Curl_polarsslthreadlock_thread_cleanup() 1
+#define Curl_polarsslthreadlock_lock_function(x) 1
+#define Curl_polarsslthreadlock_unlock_function(x) 1
#endif /* USE_THREADS_POSIX || USE_THREADS_WIN32 */