From c0f43bd241140ff2349831c5a022c951c0155dd9 Mon Sep 17 00:00:00 2001 From: David Schultz Date: Sat, 14 Mar 2009 19:00:16 +0000 Subject: [PATCH] Namespace: inet_ntoa_r() is a BSD extension. --- include/arpa/inet.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/arpa/inet.h b/include/arpa/inet.h index b6708366dd15..084810692b79 100644 --- a/include/arpa/inet.h +++ b/include/arpa/inet.h @@ -148,7 +148,6 @@ uint16_t ntohs(uint16_t); in_addr_t inet_addr(const char *); /*const*/ char *inet_ntoa(struct in_addr); -char *inet_ntoa_r(struct in_addr, char *buf, socklen_t size); const char *inet_ntop(int, const void * __restrict, char * __restrict, socklen_t); int inet_pton(int, const char * __restrict, void * __restrict); @@ -162,6 +161,7 @@ in_addr_t inet_netof(struct in_addr); in_addr_t inet_network(const char *); char *inet_net_ntop(int, const void *, int, char *, size_t); int inet_net_pton(int, const char *, void *, size_t); +char *inet_ntoa_r(struct in_addr, char *buf, socklen_t size); char *inet_cidr_ntop(int, const void *, int, char *, size_t); int inet_cidr_pton(int, const char *, void *, int *); unsigned inet_nsap_addr(const char *, unsigned char *, int);