From: Ulrich Drepper Date: Thu, 11 Mar 2004 08:08:48 +0000 (+0000) Subject: Update. X-Git-Tag: cvs/fedora-base~681 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c9b2a0cf5856f7b31f62da24464adc3141102a6d;p=thirdparty%2Fglibc.git Update. 2004-03-11 Ulrich Drepper * resolv/ns_ttl.c: Don't add ns_parse_ttl for libresolv.so. --- diff --git a/ChangeLog b/ChangeLog index dfc4ce1c8ab..38a83f16813 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2004-03-11 Ulrich Drepper + + * resolv/ns_ttl.c: Don't add ns_parse_ttl for libresolv.so. + 2004-03-10 Ulrich Drepper * sysdeps/generic/errno.c: Include . Use diff --git a/resolv/ns_ttl.c b/resolv/ns_ttl.c index c5d5af2f10a..0f74178bbb9 100644 --- a/resolv/ns_ttl.c +++ b/resolv/ns_ttl.c @@ -89,6 +89,9 @@ ns_format_ttl(u_long src, char *dst, size_t dstlen) { return (dst - odst); } +#ifndef SHARED +// Seems not to be needed. It's not exported from the DSO. Some libresolv.a +// might depend on it so we let it in. int ns_parse_ttl(const char *src, u_long *dst) { u_long ttl, tmp; @@ -137,6 +140,7 @@ ns_parse_ttl(const char *src, u_long *dst) { __set_errno (EINVAL); return (-1); } +#endif /* Private. */