Add missing extern "C".
Change-Id: Idbf24ce8482ff03f24caa89bafb08677b1c5cec3
This commit is contained in:
parent
ca483765bd
commit
f90b95ea1a
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user