summaryrefslogtreecommitdiffstats
path: root/libc/bionic/pthread_gettid_np.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libc/bionic/pthread_gettid_np.cpp')
-rw-r--r--libc/bionic/pthread_gettid_np.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/libc/bionic/pthread_gettid_np.cpp b/libc/bionic/pthread_gettid_np.cpp
index f4663a7..c996a05 100644
--- a/libc/bionic/pthread_gettid_np.cpp
+++ b/libc/bionic/pthread_gettid_np.cpp
@@ -27,13 +27,7 @@
*/
#include "pthread_internal.h"
-#include "private/bionic_pthread.h"
pid_t pthread_gettid_np(pthread_t t) {
return reinterpret_cast<pthread_internal_t*>(t)->tid;
}
-
-// TODO: move callers over to pthread_gettid_np and remove this.
-pid_t __pthread_gettid(pthread_t t) {
- return pthread_gettid_np(t);
-}