From a6f64725afe8eb4effee612b00384c4e2a9a5af0 Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Fri, 9 Nov 2018 11:52:30 -0600 Subject: [PATCH] include/arpa/inet.h: Remove the dup INET[6]_ADDRSTRLEN from arpa.inet.h already define in netinet/in.h --- include/arpa/inet.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/include/arpa/inet.h b/include/arpa/inet.h index 5295dee6dd..86ea2159f9 100644 --- a/include/arpa/inet.h +++ b/include/arpa/inet.h @@ -49,13 +49,6 @@ /**************************************************************************** * Public Type Definitions ****************************************************************************/ -/* Length of the string form for IP address (excludes NULL termination) */ - -#define INET_ADDRSTRLEN 16 - -/* Length of the string form for IPv6 address (excludes NULL termination) */ - -#define INET6_ADDRSTRLEN 46 /* This macro to convert a 16/32-bit constant values quantity from host byte * order to network byte order. The 16-bit version of this macro is required