git: Clean up the namespace of <arpa/inet.h>, <netdb.h> and <netinet/in.h>.
Sascha Wildner
swildner at crater.dragonflybsd.org
Sat Nov 21 23:04:47 PST 2020
commit 763ffc12ee6c6fc2b3b1fcb4faacd9d9ec991e64
Author: Sascha Wildner <saw at online.de>
Date: Sun Nov 22 08:04:38 2020 +0100
Clean up the namespace of <arpa/inet.h>, <netdb.h> and <netinet/in.h>.
These are further cleanups for stricter POSIX conformance, all related
to the uint*_t types, for which we previously had to include <stdint.h>
wholesale. Instead, wrap them in *_DECLARED macros and typedef them in
the headers that need them, usually just a subset.
Thanks to zrj for testing this with a dports bulk build.
Summary of changes:
include/arpa/inet.h | 14 ++++++++++----
include/netdb.h | 8 ++++++--
include/stdint.h | 20 ++++++++++++++++----
sys/netinet/in.h | 21 ++++++++++++++++++++-
sys/netinet6/in6.h | 23 +++++++++++++++++++++++
5 files changed, 75 insertions(+), 11 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/763ffc12ee6c6fc2b3b1fcb4faacd9d9ec991e64
--
DragonFly BSD source repository
More information about the Commits
mailing list