Skip to content

Commit

Permalink
Update.
Browse files Browse the repository at this point in the history
2004-03-11  Ulrich Drepper  <drepper@redhat.com>

	* resolv/ns_ttl.c: Don't add ns_parse_ttl for libresolv.so.
  • Loading branch information
Ulrich Drepper committed Mar 11, 2004
1 parent f032388 commit c9b2a0c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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>

* sysdeps/generic/errno.c: Include <dl-sysdep.h>. Use
Expand Down
4 changes: 4 additions & 0 deletions resolv/ns_ttl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -137,6 +140,7 @@ ns_parse_ttl(const char *src, u_long *dst) {
__set_errno (EINVAL);
return (-1);
}
#endif

/* Private. */

Expand Down

0 comments on commit c9b2a0c

Please sign in to comment.