diff options
author | Rich Felker <dalias@aerifal.cx> | 2013-10-20 22:01:51 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2013-10-20 22:01:51 -0400 |
commit | 8f0359605a24277e3d67f2b9e3477437a7d38706 (patch) | |
tree | 719f2bd1739afd1124fe484a442e70310e70ea2a /include/signal.h | |
parent | 38b9c0274974a1b9941adb2e59238b153704151f (diff) | |
download | musl-8f0359605a24277e3d67f2b9e3477437a7d38706.tar.gz musl-8f0359605a24277e3d67f2b9e3477437a7d38706.tar.bz2 musl-8f0359605a24277e3d67f2b9e3477437a7d38706.tar.xz musl-8f0359605a24277e3d67f2b9e3477437a7d38706.zip |
fix multiple minor namespace issues in headers
fcntl.h: AT_* is not a reserved namespace so extensions cannot be
exposed by default.
langinfo.h: YESSTR and NOSTR were removed from the standard.
limits.h: NL_NMAX was removed from the standard.
signal.h: the conditional for NSIG was wrongly checking _XOPEN_SOURCE
rather than _BSD_SOURCE. this was purely a mistake; it doesn't even
match the commit message from the commit that added it.
Diffstat (limited to 'include/signal.h')
-rw-r--r-- | include/signal.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/signal.h b/include/signal.h index e65a8065..6f10a118 100644 --- a/include/signal.h +++ b/include/signal.h @@ -218,11 +218,8 @@ void (*sigset(int, void (*)(int)))(int); #define SIGSTKSZ 8192 #endif -#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) -#define NSIG _NSIG -#endif - #if defined(_BSD_SOURCE) || defined(_GNU_SOURCE) +#define NSIG _NSIG typedef void (*sig_t)(int); #endif |