diff options
author | das <das@FreeBSD.org> | 2009-03-14 19:00:16 +0000 |
---|---|---|
committer | das <das@FreeBSD.org> | 2009-03-14 19:00:16 +0000 |
commit | 3e837f82b34c277d2ed7c87132f4d0e08d9bc056 (patch) | |
tree | b726b803b41b4a2b230fb178d8130441751fa324 | |
parent | 78607e9faf2785344e2df492955a600fc9da95dd (diff) | |
download | FreeBSD-src-3e837f82b34c277d2ed7c87132f4d0e08d9bc056.zip FreeBSD-src-3e837f82b34c277d2ed7c87132f4d0e08d9bc056.tar.gz |
Namespace: inet_ntoa_r() is a BSD extension.
-rw-r--r-- | include/arpa/inet.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/arpa/inet.h b/include/arpa/inet.h index b670836..0848106 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); |