From 1a5f1153a770a6f244f4a0eee0441033a1857990 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Tue, 3 Mar 2020 12:13:29 +0100 Subject: Linux: sigaltstack syscall number is always available Due to the built-in tables, __NR_sigaltstack is always defined. Reviewed-by: Adhemerval Zanella --- sysdeps/unix/sysv/linux/sigstack.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'sysdeps/unix/sysv') diff --git a/sysdeps/unix/sysv/linux/sigstack.c b/sysdeps/unix/sysv/linux/sigstack.c index 2f75e26..32a378b 100644 --- a/sysdeps/unix/sysv/linux/sigstack.c +++ b/sysdeps/unix/sysv/linux/sigstack.c @@ -22,7 +22,6 @@ #include -#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 -#endif -- cgit v1.1