mirror of git://sourceware.org/git/glibc.git
Update.
2004-03-11 Ulrich Drepper <drepper@redhat.com> * resolv/ns_ttl.c: Don't add ns_parse_ttl for libresolv.so.
This commit is contained in:
parent
f032388692
commit
c9b2a0cf58
|
@ -1,3 +1,7 @@
|
||||||
|
2004-03-11 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* resolv/ns_ttl.c: Don't add ns_parse_ttl for libresolv.so.
|
||||||
|
|
||||||
2004-03-10 Ulrich Drepper <drepper@redhat.com>
|
2004-03-10 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
* sysdeps/generic/errno.c: Include <dl-sysdep.h>. Use
|
* sysdeps/generic/errno.c: Include <dl-sysdep.h>. Use
|
||||||
|
|
|
@ -89,6 +89,9 @@ ns_format_ttl(u_long src, char *dst, size_t dstlen) {
|
||||||
return (dst - odst);
|
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
|
int
|
||||||
ns_parse_ttl(const char *src, u_long *dst) {
|
ns_parse_ttl(const char *src, u_long *dst) {
|
||||||
u_long ttl, tmp;
|
u_long ttl, tmp;
|
||||||
|
@ -137,6 +140,7 @@ ns_parse_ttl(const char *src, u_long *dst) {
|
||||||
__set_errno (EINVAL);
|
__set_errno (EINVAL);
|
||||||
return (-1);
|
return (-1);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Private. */
|
/* Private. */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue