summaryrefslogtreecommitdiffstats
path: root/libc/bionic/pthread_debug.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libc/bionic/pthread_debug.cpp')
-rw-r--r--libc/bionic/pthread_debug.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/bionic/pthread_debug.cpp b/libc/bionic/pthread_debug.cpp
index c557211..7d98d10 100644
--- a/libc/bionic/pthread_debug.cpp
+++ b/libc/bionic/pthread_debug.cpp
@@ -272,8 +272,8 @@ static void mutex_unlock_checked(MutexInfo* object);
/****************************************************************************/
-extern int pthread_mutex_lock_impl(pthread_mutex_t *mutex);
-extern int pthread_mutex_unlock_impl(pthread_mutex_t *mutex);
+extern "C" int pthread_mutex_lock_impl(pthread_mutex_t *mutex);
+extern "C" int pthread_mutex_unlock_impl(pthread_mutex_t *mutex);
static int pthread_mutex_lock_unchecked(pthread_mutex_t *mutex) {
return pthread_mutex_lock_impl(mutex);