aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-02-12 20:21:47 +0000
committerUlrich Drepper <drepper@redhat.com>2001-02-12 20:21:47 +0000
commit0e3af135e1fed031413e54bc352a51537c3b7504 (patch)
tree7c3ba7e4bf26442da9c164c63f403dd0175b888c
parentb3294a937ad788522d85c36bd232b20d73766891 (diff)
downloadglibc-0e3af135e1fed031413e54bc352a51537c3b7504.tar
glibc-0e3af135e1fed031413e54bc352a51537c3b7504.tar.gz
glibc-0e3af135e1fed031413e54bc352a51537c3b7504.tar.bz2
glibc-0e3af135e1fed031413e54bc352a51537c3b7504.zip
Update.
2000-12-02 H.J. Lu <hjl@gnu.org> * resolv/res_libc.c (res_init): Don't make it default.
-rw-r--r--ChangeLog4
-rw-r--r--resolv/res_libc.c4
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 468dc2f465..ba9d81ce7e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2000-12-02 H.J. Lu <hjl@gnu.org>
+
+ * resolv/res_libc.c (res_init): Don't make it default.
+
2001-02-12 Ulrich Drepper <drepper@redhat.com>
* manual/debug.texi: Improved the wording.
diff --git a/resolv/res_libc.c b/resolv/res_libc.c
index fde5f5c151..a4df81e3db 100644
--- a/resolv/res_libc.c
+++ b/resolv/res_libc.c
@@ -84,5 +84,7 @@ res_init(void) {
#if SHLIB_COMPAT(libc, GLIBC_2_0, GLIBC_2_2)
# undef res_init
-weak_alias (__res_init, res_init);
+trong_alias (__res_init, __res_init_weak);
+weak_extern (__res_init_weak);
+compat_symbol (libc, __res_init_weak, res_init, GLIBC_2_0);
#endif