diff options
author | Rich Felker <dalias@aerifal.cx> | 2020-03-04 12:33:35 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2020-03-04 12:33:35 -0500 |
commit | 2f2348c9588d61680123bbe438db38acf5dfea4c (patch) | |
tree | 7720ee64d08aed82f46d620c167b565961d84f4d /include/arpa | |
parent | 4e0796dfc72f289e97dce3332e6186c6b00b693d (diff) | |
download | musl-2f2348c9588d61680123bbe438db38acf5dfea4c.tar.gz musl-2f2348c9588d61680123bbe438db38acf5dfea4c.tar.bz2 musl-2f2348c9588d61680123bbe438db38acf5dfea4c.tar.xz musl-2f2348c9588d61680123bbe438db38acf5dfea4c.zip |
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/arpa')
-rw-r--r-- | include/arpa/inet.h | 5 |
1 files changed, 0 insertions, 5 deletions
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 |