diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-03-11 08:08:48 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-03-11 08:08:48 +0000 |
commit | c9b2a0cf5856f7b31f62da24464adc3141102a6d (patch) | |
tree | 005ea360b424555a1cb654ea20052ee2cc6c5481 /resolv/ns_ttl.c | |
parent | f032388692f35c50a10d7ce632a2ff606ea02825 (diff) | |
download | glibc-c9b2a0cf5856f7b31f62da24464adc3141102a6d.tar.gz glibc-c9b2a0cf5856f7b31f62da24464adc3141102a6d.tar.xz glibc-c9b2a0cf5856f7b31f62da24464adc3141102a6d.zip |
Update.
2004-03-11 Ulrich Drepper <drepper@redhat.com> * resolv/ns_ttl.c: Don't add ns_parse_ttl for libresolv.so.
Diffstat (limited to 'resolv/ns_ttl.c')
-rw-r--r-- | resolv/ns_ttl.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/resolv/ns_ttl.c b/resolv/ns_ttl.c index c5d5af2f10..0f74178bbb 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. */ |