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/fcntl.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/fcntl.h')
-rw-r--r-- | include/fcntl.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/fcntl.h b/include/fcntl.h index b9bc2695..55a89f9c 100644 --- a/include/fcntl.h +++ b/include/fcntl.h @@ -59,8 +59,6 @@ int posix_fallocate(int, off_t, off_t); #define AT_REMOVEDIR 0x200 #define AT_SYMLINK_FOLLOW 0x400 #define AT_EACCESS 0x200 -#define AT_NO_AUTOMOUNT 0x800 -#define AT_EMPTY_PATH 0x1000 #define POSIX_FADV_NORMAL 0 #define POSIX_FADV_RANDOM 1 @@ -95,6 +93,9 @@ int posix_fallocate(int, off_t, off_t); #endif #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) +#define AT_NO_AUTOMOUNT 0x800 +#define AT_EMPTY_PATH 0x1000 + #define FAPPEND O_APPEND #define FFSYNC O_FSYNC #define FASYNC O_ASYNC |