From 0e3af135e1fed031413e54bc352a51537c3b7504 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 12 Feb 2001 20:21:47 +0000 Subject: Update. 2000-12-02 H.J. Lu * resolv/res_libc.c (res_init): Don't make it default. --- resolv/res_libc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'resolv/res_libc.c') diff --git a/resolv/res_libc.c b/resolv/res_libc.c index fde5f5c..a4df81e 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 -- cgit v1.1