diff options
author | Jakub Jelinek <jakub@redhat.com> | 2004-10-18 09:58:59 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2004-10-18 09:58:59 +0000 |
commit | 56c4396a6e1568a5511ac43873fa3c9e1ebfa8d1 (patch) | |
tree | f2d0f6e1aaf9794668b53c6456fcacbbacd63805 /resolv/gethnamaddr.c | |
parent | 4ce1a5c9712b4d7616058e708630c33744f983f6 (diff) | |
download | glibc-56c4396a6e1568a5511ac43873fa3c9e1ebfa8d1.tar.gz glibc-56c4396a6e1568a5511ac43873fa3c9e1ebfa8d1.tar.xz glibc-56c4396a6e1568a5511ac43873fa3c9e1ebfa8d1.zip |
Updated to fedora-glibc-20041018T0940
Diffstat (limited to 'resolv/gethnamaddr.c')
-rw-r--r-- | resolv/gethnamaddr.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/resolv/gethnamaddr.c b/resolv/gethnamaddr.c index 1a4b08ecdc..3698e4b841 100644 --- a/resolv/gethnamaddr.c +++ b/resolv/gethnamaddr.c @@ -487,6 +487,9 @@ getanswer(answer, anslen, qname, qtype) return (NULL); } +extern struct hostent *gethostbyname2(const char *name, int af); +libresolv_hidden_proto (gethostbyname2) + struct hostent * gethostbyname(name) const char *name; @@ -637,6 +640,7 @@ gethostbyname2(name, af) free (buf.buf); return ret; } +libresolv_hidden_def (gethostbyname2) struct hostent * gethostbyaddr(addr, len, af) @@ -795,6 +799,7 @@ _sethtent(f) rewind(hostf); stayopen = f; } +libresolv_hidden_def (_sethtent) void _endhtent() @@ -869,6 +874,7 @@ _gethtent() __set_h_errno (NETDB_SUCCESS); return (&host); } +libresolv_hidden_def (_gethtent) struct hostent * _gethtbyname(name) @@ -907,6 +913,7 @@ _gethtbyname2(name, af) _endhtent(); return (p); } +libresolv_hidden_def (_gethtbyname2) struct hostent * _gethtbyaddr(addr, len, af) @@ -923,6 +930,7 @@ _gethtbyaddr(addr, len, af) _endhtent(); return (p); } +libresolv_hidden_def (_gethtbyaddr) static void map_v4v6_address(src, dst) |