diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-11-21 13:41:58 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-11-21 13:41:58 -0500 |
commit | 65b98213e4a12997a519e34695250d9f3a4d6bc7 (patch) | |
tree | 0394b6b286f0b62882d54272d30926df676d4a1e /arch/x86_64 | |
parent | 57a0b82441e8d03a93965e2a373588721374ed78 (diff) | |
download | musl-65b98213e4a12997a519e34695250d9f3a4d6bc7.tar.gz |
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.
Diffstat (limited to 'arch/x86_64')
-rw-r--r-- | arch/x86_64/bits/signal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86_64/bits/signal.h b/arch/x86_64/bits/signal.h index 11375b9a..cfe7dbbc 100644 --- a/arch/x86_64/bits/signal.h +++ b/arch/x86_64/bits/signal.h @@ -78,3 +78,5 @@ struct sigcontext { #define SIGPWR 30 #define SIGSYS 31 #define SIGUNUSED SIGSYS + +#define _NSIG 65 |