aboutsummaryrefslogtreecommitdiff
path: root/include/netinet/in.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2020-03-04 12:33:35 -0500
committerRich Felker <dalias@aerifal.cx>2020-03-04 12:33:35 -0500
commit2f2348c9588d61680123bbe438db38acf5dfea4c (patch)
tree7720ee64d08aed82f46d620c167b565961d84f4d /include/netinet/in.h
parentadd PTHREAD_NULL (diff)
downloadgrovel-2f2348c9588d61680123bbe438db38acf5dfea4c.tar.gz
grovel-2f2348c9588d61680123bbe438db38acf5dfea4c.tar.xz
remove duplicate definitions of INET[6]_ADDRSTRLEN
these were leftover from early beginnings when arpa/inet.h was not including netinet/in.h.
Diffstat (limited to 'include/netinet/in.h')
-rw-r--r--include/netinet/in.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/netinet/in.h b/include/netinet/in.h
index 5b8b21e6..103d2e04 100644
--- a/include/netinet/in.h
+++ b/include/netinet/in.h
@@ -60,8 +60,6 @@ struct ipv6_mreq {
extern const struct in6_addr in6addr_any, in6addr_loopback;
-#undef INET_ADDRSTRLEN
-#undef INET6_ADDRSTRLEN
#define INET_ADDRSTRLEN 16
#define INET6_ADDRSTRLEN 46