summaryrefslogtreecommitdiffstats
path: root/libutils
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-08-18 19:34:23 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-08-18 19:34:23 +0000
commit10cce72c4bbc8bb8e6466b5511e178321862658a (patch)
treef7f2c135302c5528bd45be0fe79610e5cdc91d15 /libutils
parent932c3a1d0507da5ff8d7183fa5a795bce0a86c19 (diff)
parent3859029a48aa78150fa61eb4988214f8632b33ce (diff)
downloadsystem_core-10cce72c4bbc8bb8e6466b5511e178321862658a.zip
system_core-10cce72c4bbc8bb8e6466b5511e178321862658a.tar.gz
system_core-10cce72c4bbc8bb8e6466b5511e178321862658a.tar.bz2
am 3859029a: am 7fb0ee0c: Merge "Remove androidGetTid."
* commit '3859029a48aa78150fa61eb4988214f8632b33ce': Remove androidGetTid.
Diffstat (limited to 'libutils')
-rw-r--r--libutils/Threads.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/libutils/Threads.cpp b/libutils/Threads.cpp
index b09d510..03fde97 100644
--- a/libutils/Threads.cpp
+++ b/libutils/Threads.cpp
@@ -306,15 +306,6 @@ void androidSetCreateThreadFunc(android_create_thread_fn func)
gCreateThreadFn = func;
}
-pid_t androidGetTid()
-{
-#ifdef HAVE_GETTID
- return gettid();
-#else
- return getpid();
-#endif
-}
-
#ifdef HAVE_ANDROID_OS
int androidSetThreadPriority(pid_t tid, int pri)
{