Merge "Add missing extern "C"."

This commit is contained in:
Elliott Hughes 2013-01-22 19:22:46 +00:00 committed by Gerrit Code Review
commit 02f96b9db0

View File

@ -272,8 +272,8 @@ static void mutex_unlock_checked(MutexInfo* object);
/****************************************************************************/ /****************************************************************************/
extern int pthread_mutex_lock_impl(pthread_mutex_t *mutex); extern "C" int pthread_mutex_lock_impl(pthread_mutex_t *mutex);
extern int pthread_mutex_unlock_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) { static int pthread_mutex_lock_unchecked(pthread_mutex_t *mutex) {
return pthread_mutex_lock_impl(mutex); return pthread_mutex_lock_impl(mutex);