summaryrefslogtreecommitdiff
path: root/lib/sanitizer_common/sanitizer_common.h
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2013-05-17 16:56:53 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2013-05-17 16:56:53 +0000
commit0b694fcab9b2f33bdd6691cbea4e80a5c27191b1 (patch)
treef1ad0a376d7cc8d035b2e8305024a6a35413ac14 /lib/sanitizer_common/sanitizer_common.h
parent0c547de62dc0852a03fae2d868fa571e7f5512b3 (diff)
downloadcompiler-rt-0b694fcab9b2f33bdd6691cbea4e80a5c27191b1.tar.gz
[nolibc] Move all platforms to internal_getpid.
Before, we had an unused internal_getpid function for Linux, and a platform-independent GetPid function. To make the naming conventions consistent for syscall-like functions, the GetPid syscall wrapper in sanitizer_posix.cc is moved to sanitizer_mac.cc, and GetPid is renamed to internal_getpid, bringing the Linux variant into use. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182132 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/sanitizer_common.h')
-rw-r--r--lib/sanitizer_common/sanitizer_common.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/sanitizer_common/sanitizer_common.h b/lib/sanitizer_common/sanitizer_common.h
index f0208f333..d80036016 100644
--- a/lib/sanitizer_common/sanitizer_common.h
+++ b/lib/sanitizer_common/sanitizer_common.h
@@ -40,7 +40,6 @@ uptr GetPageSize();
uptr GetPageSizeCached();
uptr GetMmapGranularity();
// Threads
-int GetPid();
uptr GetTid();
uptr GetThreadSelf();
void GetThreadStackTopAndBottom(bool at_initialization, uptr *stack_top,