From f90b95ea1a46b0685d1051c41a02a9abc25f3f35 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Tue, 22 Jan 2013 11:20:45 -0800 Subject: [PATCH] Add missing extern "C". Change-Id: Idbf24ce8482ff03f24caa89bafb08677b1c5cec3 --- libc/bionic/pthread_debug.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libc/bionic/pthread_debug.cpp b/libc/bionic/pthread_debug.cpp index c55721110..7d98d109b 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);