summaryrefslogtreecommitdiff
path: root/include/signal.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2013-10-20 22:01:51 -0400
committerRich Felker <dalias@aerifal.cx>2013-10-20 22:01:51 -0400
commit8f0359605a24277e3d67f2b9e3477437a7d38706 (patch)
tree719f2bd1739afd1124fe484a442e70310e70ea2a /include/signal.h
parent38b9c0274974a1b9941adb2e59238b153704151f (diff)
downloadmusl-8f0359605a24277e3d67f2b9e3477437a7d38706.tar.gz
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.h5
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