From 65b98213e4a12997a519e34695250d9f3a4d6bc7 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Wed, 21 Nov 2012 13:41:58 -0500 Subject: add back NSIG, removed from powerpc in last commit, but for all archs unlike the previous definition, NSIG/_NSIG is supposed to be one more than the highest signal number. adding this will allow simplifying libc-internal code that makes signal-related syscalls, which can be done as a later step. some apps might use it too; while this usage is questionable, it's at least not insane. --- arch/arm/bits/signal.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'arch/arm') diff --git a/arch/arm/bits/signal.h b/arch/arm/bits/signal.h index 328388d4..2f83cb99 100644 --- a/arch/arm/bits/signal.h +++ b/arch/arm/bits/signal.h @@ -71,3 +71,5 @@ struct sigcontext #define SIGPWR 30 #define SIGSYS 31 #define SIGUNUSED SIGSYS + +#define _NSIG 65 -- cgit v1.2.3-70-g09d2