The bsd_signal declaration shouldn't be visible if API > 21.
This causes GNU make to fail to build: main.o:main.c:(.text+0x18c): more undefined references to `bsd_signal' follow Bug: N/A Test: built GNU make with a hacked standalone toolchain Change-Id: Icdfb4cf674df8abed44f6671454bed9f8d68e74b
This commit is contained in:
parent
15eaaddef9
commit
583ef362c8
1 changed files with 2 additions and 2 deletions
|
@ -37,10 +37,10 @@
|
|||
|
||||
__BEGIN_DECLS
|
||||
|
||||
sighandler_t bsd_signal(int signum, sighandler_t handler) __REMOVED_IN(21);
|
||||
|
||||
#if __ANDROID_API__ < __ANDROID_API_L__
|
||||
|
||||
sighandler_t bsd_signal(int signum, sighandler_t handler) __REMOVED_IN(21);
|
||||
|
||||
/* These weren't introduced until L. */
|
||||
int __libc_current_sigrtmax() __attribute__((__weak__)) __VERSIONER_NO_GUARD;
|
||||
int __libc_current_sigrtmin() __attribute__((__weak__)) __VERSIONER_NO_GUARD;
|
||||
|
|
Loading…
Reference in a new issue