diff --git a/sys/sys/signal.h b/sys/sys/signal.h index c658e2850f73..f0668a9c98f7 100644 --- a/sys/sys/signal.h +++ b/sys/sys/signal.h @@ -44,16 +44,7 @@ #include #include - -/* - * sigset_t macros. - */ -#define _SIG_WORDS 4 -#define _SIG_MAXSIG 128 -#define _SIG_IDX(sig) ((sig) - 1) -#define _SIG_WORD(sig) (_SIG_IDX(sig) >> 5) -#define _SIG_BIT(sig) (1 << (_SIG_IDX(sig) & 31)) -#define _SIG_VALID(sig) ((sig) <= _SIG_MAXSIG && (sig) > 0) +#include /* * System defined signals. @@ -167,13 +158,9 @@ typedef struct __siginfo { } siginfo_t; #endif /* _P1003_1B_VISIBLE */ -typedef struct __sigset { - unsigned int __bits[_SIG_WORDS]; -} sigset_t; - /* - * XXX - there are some nasty dependencies on include file order. Now that - * sigset_t has been defined we can include the MD header. + * XXX - there are some nasty dependencies on include file order. + * must be included before . */ #include /* sig_atomic_t; trap codes; sigcontext */