From 8f0359605a24277e3d67f2b9e3477437a7d38706 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Sun, 20 Oct 2013 22:01:51 -0400 Subject: 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. --- include/signal.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'include/signal.h') 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 -- cgit v1.2.1