In several standard headers, harmonize checks for legacy defines etc.
authorSascha Wildner <saw@online.de>
Thu, 20 Sep 2018 17:36:47 +0000 (19:36 +0200)
committerSascha Wildner <saw@online.de>
Thu, 20 Sep 2018 17:36:47 +0000 (19:36 +0200)
commitf85b95dda56c5674337d123e2cfef09de2e15167
treef503eb4750d55723f068dc3ca2ca6fde5753151f
parent82a131e30f2a9dc3ce705a3cea73c06cba189d4b
In several standard headers, harmonize checks for legacy defines etc.

When something goes away in a certain issue of the standard, always
check with < $standard, not <= $previous_standard. Also, uniformly
check for __XSI_VISIBLE or __POSIX_VISIBLE being > 0 in these cases.

While here, fix a small nit in <sys/wait.h>: wait3() was removed
from Issue 6, but the requirement to define the rusage structure was
removed from Issue 7.
14 files changed:
include/fnmatch.h
include/langinfo.h
include/limits.h
include/netdb.h
include/stdio.h
include/stdlib.h
include/strings.h
include/time.h
include/unistd.h
lib/libc/tre-regex/regex.h
sys/sys/signal.h
sys/sys/timeb.h
sys/sys/ucontext.h
sys/sys/wait.h