commit | 0f001b67fea27f8d60afc4677e8970d32a4e3792 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Fri Sep 12 11:35:05 2014 -0700 |
committer | Elliott Hughes <enh@google.com> | Fri Sep 12 11:35:05 2014 -0700 |
tree | 208844ca4857eea0aaad56bbd0018e47201add50 | |
parent | d74aa580354037b9972524e9d654c0a336974838 [diff] [blame] |
Remove "private/bionic_pthread.h". Bug: 17476168 Change-Id: Id642987e641de81e914a28daea4ffe9d11e090ed
diff --git a/libc/bionic/ndk_cruft.cpp b/libc/bionic/ndk_cruft.cpp index 829e8f3..2cd2e33 100644 --- a/libc/bionic/ndk_cruft.cpp +++ b/libc/bionic/ndk_cruft.cpp
@@ -320,4 +320,9 @@ return malloc_usable_size(ptr); } +// In L we added a public pthread_gettid_np, but some apps were using the private API. +extern "C" pid_t __pthread_gettid(pthread_t t) { + return pthread_gettid_np(t); +} + #endif