mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-21 12:30:06 +00:00
ed9a38e21b
This patch cleans up cases of __USE_MISC that are trivially redundant after the recent substitution of __USE_MISC for __USE_BSD and __USE_SVID: either in constructs such as "defined __USE_MISC || defined __USE_MISC", or else (in the bits/mman.h case) a conditional on __USE_MISC nested inside another __USE_MISC conditional. (The cleanups remaining after this patch are still quite large, but it seems a reasonable piece to separate out.) Tested x86_64. * bits/mman.h [__USE_MISC]: Remove redundant conditionals. * ctype/ctype.h [__USE_MISC]: Likewise. * dirent/dirent.h [__USE_MISC]: Likewise. * grp/grp.h [__USE_MISC]: Likewise. * io/fcntl.h [__USE_MISC]: Likewise. * io/sys/stat.h [__USE_MISC]: Likewise. * libio/stdio.h [__USE_MISC]: Likewise. * posix/unistd.h [__USE_MISC]: Likewise. * pwd/pwd.h [__USE_MISC]: Likewise. * stdlib.h [__USE_MISC]: Likewise. * string/bits/string2.h [__USE_MISC]: Likewise. * string/string.h [__USE_MISC]: Likewise. * time/time.h [__USE_MISC]: Likewise. |
||
---|---|---|
.. | ||
alphasort64.c | ||
alphasort.c | ||
bug-readdir1.c | ||
closedir.c | ||
dirent.h | ||
dirfd.c | ||
fdopendir.c | ||
getdents64.c | ||
getdents.c | ||
list.c | ||
Makefile | ||
opendir-tst1.c | ||
opendir.c | ||
readdir64_r.c | ||
readdir64.c | ||
readdir_r.c | ||
readdir.c | ||
rewinddir.c | ||
scandir64.c | ||
scandir.c | ||
scandirat64.c | ||
scandirat.c | ||
seekdir.c | ||
telldir.c | ||
tst-fdopendir2.c | ||
tst-fdopendir.c | ||
tst-seekdir.c | ||
Versions | ||
versionsort64.c | ||
versionsort.c |