From fe8655142206e34169a524dc2063fe5732f126a1 Mon Sep 17 00:00:00 2001
From: Denis Vlasenko <vda.linux@googlemail.com>
Date: Fri, 25 Apr 2008 07:43:18 +0000
Subject: reinstate external visibility of inet_ntoa_r, and add it to
 arpa/inet.h header.

---
 include/arpa/inet.h | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'include/arpa')

diff --git a/include/arpa/inet.h b/include/arpa/inet.h
index fe3373b88..02233d4e7 100644
--- a/include/arpa/inet.h
+++ b/include/arpa/inet.h
@@ -52,6 +52,8 @@ extern in_addr_t inet_network (__const char *__cp) __THROW;
 /* Convert Internet number in IN to ASCII representation.  The return value
    is a pointer to an internal array containing the string.  */
 extern char *inet_ntoa (struct in_addr __in) __THROW;
+/* Recursion-safe flavor */
+extern char *inet_ntoa_r (struct in_addr __in, char *__buf) __THROW;
 
 /* Convert from presentation format of an Internet number in buffer
    starting at CP to the binary network format and store result for
-- 
cgit v1.2.3