projects
/
kopensolaris-gnu
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce50d7f
)
Don't add ns_parse_ttl for libresolv.so.
author
drepper
<drepper>
Thu, 11 Mar 2004 08:07:49 +0000
(08:07 +0000)
committer
drepper
<drepper>
Thu, 11 Mar 2004 08:07:49 +0000
(08:07 +0000)
resolv/ns_ttl.c
patch
|
blob
|
history
diff --git
a/resolv/ns_ttl.c
b/resolv/ns_ttl.c
index
c5d5af2
..
0f74178
100644
(file)
--- 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. */