diff options
author | Dan Albert <danalbert@google.com> | 2014-06-13 16:04:41 -0700 |
---|---|---|
committer | Dan Albert <danalbert@google.com> | 2014-06-13 16:04:41 -0700 |
commit | 8229ae46f4fb165a18da4dca1be74c4c099c3ee7 (patch) | |
tree | 43204bf27e85e7e18a6fa87d7db7398af583b280 /libc/bionic/ndk_cruft.cpp | |
parent | 0f690d9eda1893e66223138d2b930eb3e0164820 (diff) | |
download | bionic-8229ae46f4fb165a18da4dca1be74c4c099c3ee7.zip bionic-8229ae46f4fb165a18da4dca1be74c4c099c3ee7.tar.gz bionic-8229ae46f4fb165a18da4dca1be74c4c099c3ee7.tar.bz2 |
Removes wait3(2) from LP64.
wait3(2) was removed from POSIX 2004. Keep the symbol around in LP32 for binary
compatibility, but remove the declaration in sys/wait.h.
Bug: 13935372
Change-Id: Ic715fce6781aae43b4ac6d745dc6d1e6b9914e71
Diffstat (limited to 'libc/bionic/ndk_cruft.cpp')
-rw-r--r-- | libc/bionic/ndk_cruft.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libc/bionic/ndk_cruft.cpp b/libc/bionic/ndk_cruft.cpp index 15a3206..4834d6e 100644 --- a/libc/bionic/ndk_cruft.cpp +++ b/libc/bionic/ndk_cruft.cpp @@ -250,4 +250,9 @@ extern "C" int issetugid() { return 0; } +// This was removed from POSIX 2004. +extern "C" pid_t wait3(int* status, int options, struct rusage* rusage) { + return wait4(-1, status, options, rusage); +} + #endif |