Add missing extern "C".

Change-Id: Idbf24ce8482ff03f24caa89bafb08677b1c5cec3
This commit is contained in:
Elliott Hughes 2013-01-22 11:20:45 -08:00
parent ca483765bd
commit f90b95ea1a

View File

@ -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);