summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-09-11 16:27:41 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-09-11 16:27:41 +0000
commit21c8ad82003f4e8b74d53e6ac4ca2b20c699be63 (patch)
treee054a67a78736f41e29ce25094b17ae6704b3887 /libc
parent6c035586e980d4fcc164da4e014bbb2f55b4d680 (diff)
- remove gethostbyname_r relocation
Diffstat (limited to 'libc')
-rw-r--r--libc/inet/getaddrinfo.c1
-rw-r--r--libc/inet/hostid.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/libc/inet/getaddrinfo.c b/libc/inet/getaddrinfo.c
index fa943034d..df802f1d4 100644
--- a/libc/inet/getaddrinfo.c
+++ b/libc/inet/getaddrinfo.c
@@ -80,7 +80,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
libc_hidden_proto(socket)
libc_hidden_proto(close)
libc_hidden_proto(getservbyname_r)
-libc_hidden_proto(gethostbyname_r)
libc_hidden_proto(gethostbyname2_r)
libc_hidden_proto(gethostbyaddr_r)
libc_hidden_proto(inet_pton)
diff --git a/libc/inet/hostid.c b/libc/inet/hostid.c
index c11ab6c12..4972dcec2 100644
--- a/libc/inet/hostid.c
+++ b/libc/inet/hostid.c
@@ -22,7 +22,7 @@ libc_hidden_proto(read)
libc_hidden_proto(write)
libc_hidden_proto(getuid)
libc_hidden_proto(geteuid)
-libc_hidden_proto(gethostbyname)
+libc_hidden_proto(gethostbyname_r)
libc_hidden_proto(gethostname)
#define HOSTID "/etc/hostid"