git: In several standard headers, harmonize checks for legacy defines etc.

Sascha Wildner swildner at crater.dragonflybsd.org
Thu Sep 20 11:26:32 PDT 2018


commit f85b95dda56c5674337d123e2cfef09de2e15167
Author: Sascha Wildner <saw at online.de>
Date:   Thu Sep 20 19:36:47 2018 +0200

    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.

Summary of changes:
 include/fnmatch.h          | 2 +-
 include/langinfo.h         | 2 +-
 include/limits.h           | 2 +-
 include/netdb.h            | 6 +++---
 include/stdio.h            | 4 ++--
 include/stdlib.h           | 6 ++++--
 include/strings.h          | 4 ++--
 include/time.h             | 2 +-
 include/unistd.h           | 4 ++--
 lib/libc/tre-regex/regex.h | 2 +-
 sys/sys/signal.h           | 2 +-
 sys/sys/timeb.h            | 2 +-
 sys/sys/ucontext.h         | 2 +-
 sys/sys/wait.h             | 4 +++-
 14 files changed, 24 insertions(+), 20 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f85b95dda56c5674337d123e2cfef09de2e15167


-- 
DragonFly BSD source repository


More information about the Commits mailing list