commit | db275132c57b3b9467af03056a0a4608f4807b90 | [log] [tgz] |
---|---|---|
author | David 'Digit' Turner <digit@android.com> | Mon Dec 09 15:13:50 2013 +0100 |
committer | David 'Digit' Turner <digit@android.com> | Wed Dec 11 17:23:46 2013 +0100 |
tree | 2c0365d54ba34b6325f518e5fbae836944ad258a | |
parent | e0f497fe19acfafeba6d1b9977d4a775c1fe5420 [diff] |
ndk: Fix wait4() declarations wait4() was incorrectly declared in <sys/wait.h>, but only added to the C library in Android 4.3 (API level 18) [1] This patch: - Removes the wait4() declarations for any <sys/wait.h> header before API level 19. - Brings the API level 19 <sys/wait.h> which correctly declares wait4(). - Update the libc.so.functions.txt for API level 19 of all platforms to include the exported symbol. NOTE: This does not bring the static libc.a to API level 19, which means it is stuck at API level 9 for ARM. See [2] for the corresponding NDK tests. http://b.android.com/19854 [1] https://android.googlesource.com/platform/bionic/+/17a8b0db63d54e9d79bf11112ace0c4fe9606289 [2] https://android-review.googlesource.com/#/c/72000/ Change-Id: I7735473d177c44f43b09bb6738e9914945cd4d0a