mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 21:10:07 +00:00
Linux: sigaltstack syscall number is always available
Due to the built-in tables, __NR_sigaltstack is always defined. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
This commit is contained in:
parent
822a391076
commit
1a5f1153a7
@ -22,7 +22,6 @@
|
||||
#include <sys/syscall.h>
|
||||
|
||||
|
||||
#ifdef __NR_sigaltstack
|
||||
int
|
||||
sigstack (struct sigstack *ss, struct sigstack *oss)
|
||||
{
|
||||
@ -61,6 +60,3 @@ sigstack (struct sigstack *ss, struct sigstack *oss)
|
||||
}
|
||||
|
||||
link_warning (sigstack, "the `sigstack' function is dangerous. `sigaltstack' should be used instead.")
|
||||
#else
|
||||
# include <signal/sigstack.c>
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user