diff options
| author | Elliott Hughes <enh@google.com> | 2013-01-22 11:20:45 -0800 |
|---|---|---|
| committer | Elliott Hughes <enh@google.com> | 2013-01-22 11:20:45 -0800 |
| commit | f90b95ea1a46b0685d1051c41a02a9abc25f3f35 (patch) | |
| tree | 6ad4a71eb058dec917ebd39369a7da6443025f40 /libc/bionic/pthread_debug.cpp | |
| parent | ca483765bd0dc16294b9e67dd0de5c6d53b1bfa3 (diff) | |
| download | bionic-f90b95ea1a46b0685d1051c41a02a9abc25f3f35.zip bionic-f90b95ea1a46b0685d1051c41a02a9abc25f3f35.tar.gz bionic-f90b95ea1a46b0685d1051c41a02a9abc25f3f35.tar.bz2 | |
Add missing extern "C".
Change-Id: Idbf24ce8482ff03f24caa89bafb08677b1c5cec3
Diffstat (limited to 'libc/bionic/pthread_debug.cpp')
| -rw-r--r-- | libc/bionic/pthread_debug.cpp | 4 |
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); |
