Revert "Temporary apply LIBC version to __pthread_gettid"
This reverts commit 0ef1d121b5e4845f4ef3b59ae9a1f99ceb531186.
Bug: http://b/26392296
Bug: http://b/26391427
Change-Id: I7bbb555de3a43813e7623ff6ad4e17874d283eca
diff --git a/libc/bionic/ndk_cruft.cpp b/libc/bionic/ndk_cruft.cpp
index dfd0e68..4bbb2c1 100644
--- a/libc/bionic/ndk_cruft.cpp
+++ b/libc/bionic/ndk_cruft.cpp
@@ -340,17 +340,10 @@
}
// In L we added a public pthread_gettid_np, but some apps were using the private API.
-pid_t __pthread_gettid_libc(pthread_t t) {
+pid_t __pthread_gettid(pthread_t t) {
return pthread_gettid_np(t);
}
-pid_t __pthread_gettid_libc_private(pthread_t t) {
- return pthread_gettid_np(t);
-}
-
-__asm__(".symver __pthread_gettid_libc,__pthread_gettid@LIBC");
-__asm__(".symver __pthread_gettid_libc_private,__pthread_gettid@@LIBC_PRIVATE");
-
// Older versions of apportable used dlmalloc directly instead of malloc,
// so export this compatibility shim that simply calls malloc.
void* dlmalloc(size_t size) {