From e4e11b1dba261cb650e631978622bf3b4a4d8c37 Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Wed, 22 Apr 2020 11:02:11 -0300 Subject: signal: Add signum-{generic,arch}.h It refactor how signals are defined by each architecture. Instead of include a generic header (bits/signum-generic.h) and undef non-default values in an arch specific header (bits/signum.h) the new scheme uses a common definition (bits/signum-generic.h) and each architectures add its specific definitions on a new header (bits/signum-arch.h). For Linux it requires copy some system default definitions to alpha, hppa, and sparc. They are historical values and newer ports uses the generic Linux signum-arch.h. For Hurd the BSD signum is removed and moved to a new header (it is used currently only on Hurd). Checked on a build against all affected ABIs. Reviewed-by: Carlos O'Donell Tested-by: Carlos O'Donell --- signal/Makefile | 2 +- signal/signal.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'signal') diff --git a/signal/Makefile b/signal/Makefile index f3c19e2992..2ec3ddd74f 100644 --- a/signal/Makefile +++ b/signal/Makefile @@ -23,7 +23,7 @@ subdir := signal include ../Makeconfig headers := signal.h sys/signal.h \ - bits/signum.h bits/signum-generic.h \ + bits/signum-generic.h bits/signum-arch.h \ bits/sigcontext.h bits/sigaction.h \ bits/sigevent-consts.h bits/siginfo-consts.h \ bits/sigstack.h bits/sigthread.h bits/ss_flags.h \ diff --git a/signal/signal.h b/signal/signal.h index 2c57f90e20..db325bde16 100644 --- a/signal/signal.h +++ b/signal/signal.h @@ -27,7 +27,7 @@ __BEGIN_DECLS #include -#include +#include #include -- cgit 1.4.1