git: Adjust headers for <machine/stdint.h> visibility.

Rimvydas Jasinskas zrj at crater.dragonflybsd.org
Thu Nov 14 05:37:55 PST 2019


commit 9d4f17d13bf5d8bcd1e924ee709578e6f59bc958
Author: zrj <rimvydas.jasinskas at gmail.com>
Date:   Sun Nov 10 22:32:58 2019 +0200

    Adjust headers for <machine/stdint.h> visibility.
    
     This also reduces namespace pollution a bit.  Include <machine/stdint.h>
     where <stdint.h> is used too.  External compiler under -ffreestanding
     (__STDC_HOSTED__ == 0) will use their own <stdint.h> version and will
     not include <machine/stdint.h>.

Summary of changes:
 include/arpa/inet.h             |  8 +++-----
 include/ctype.h                 |  2 +-
 include/netdb.h                 |  1 +
 include/runetype.h              |  2 +-
 include/spawn.h                 |  2 +-
 include/stddef.h                |  4 +---
 include/stdint.h                |  2 +-
 include/termios.h               |  2 +-
 include/time.h                  |  2 +-
 include/uchar.h                 |  2 +-
 include/wchar.h                 |  2 +-
 include/wctype.h                |  2 --
 lib/libc/include/libc_private.h |  2 +-
 sys/sys/aio.h                   |  2 +-
 sys/sys/globaldata.h            | 14 ++++++--------
 sys/sys/ipc.h                   | 22 +++++++++++++++++++++-
 sys/sys/mman.h                  |  2 +-
 sys/sys/msg.h                   |  1 +
 sys/sys/msgport.h               |  4 +---
 sys/sys/sem.h                   |  1 +
 sys/sys/shm.h                   |  1 +
 sys/sys/signal.h                |  2 +-
 sys/sys/slaballoc.h             |  4 +---
 sys/sys/thread.h                |  8 +++-----
 sys/sys/types.h                 |  7 ++++---
 sys/sys/uio.h                   |  5 +++--
 sys/sys/wait.h                  |  2 +-
 27 files changed, 60 insertions(+), 48 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9d4f17d13bf5d8bcd1e924ee709578e6f59bc958


-- 
DragonFly BSD source repository



More information about the Commits mailing list