From 2f2348c9588d61680123bbe438db38acf5dfea4c Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Wed, 4 Mar 2020 12:33:35 -0500 Subject: remove duplicate definitions of INET[6]_ADDRSTRLEN these were leftover from early beginnings when arpa/inet.h was not including netinet/in.h. --- include/arpa/inet.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'include/arpa/inet.h') diff --git a/include/arpa/inet.h b/include/arpa/inet.h index 37f8c11e..9d20a15b 100644 --- a/include/arpa/inet.h +++ b/include/arpa/inet.h @@ -24,11 +24,6 @@ struct in_addr inet_makeaddr(in_addr_t, in_addr_t); in_addr_t inet_lnaof(struct in_addr); in_addr_t inet_netof(struct in_addr); -#undef INET_ADDRSTRLEN -#undef INET6_ADDRSTRLEN -#define INET_ADDRSTRLEN 16 -#define INET6_ADDRSTRLEN 46 - #ifdef __cplusplus } #endif -- cgit v1.2.1