From: Ulrich Drepper Date: Mon, 20 May 2002 06:56:53 +0000 (+0000) Subject: Remove extra weak alias definiton of _old_sys_nerr. Define _old_sys_errlist as strong... X-Git-Tag: upstream/2.30~21731 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cc5452da1e3d0dd5a7920fa8bbcfda1bce597796;p=external%2Fglibc.git Remove extra weak alias definiton of _old_sys_nerr. Define _old_sys_errlist as strong alias. --- diff --git a/sysdeps/unix/sysv/linux/errlist.c b/sysdeps/unix/sysv/linux/errlist.c index 07fb70d..8ea2f4a 100644 --- a/sysdeps/unix/sysv/linux/errlist.c +++ b/sysdeps/unix/sysv/linux/errlist.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1998, 2000 Free Software Foundation, Inc. +/* Copyright (C) 1998, 2000, 2002 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -38,10 +38,9 @@ extern const char *const *__old_sys_errlist; const int __old_sys_nerr = OLD_ERRLIST_SIZE; strong_alias (__old_sys_nerr, _old_sys_nerr); -weak_alias (__old_sys_nerr, _old_sys_nerr) compat_symbol (libc, __old_sys_nerr, _sys_nerr, GLIBC_2_0); compat_symbol (libc, _old_sys_nerr, sys_nerr, GLIBC_2_0); -weak_alias (__old_sys_errlist, _old_sys_errlist); +strong_alias (__old_sys_errlist, _old_sys_errlist); compat_symbol (libc, __old_sys_errlist, _sys_errlist, GLIBC_2_0); compat_symbol (libc, _old_sys_errlist, sys_errlist, GLIBC_2_0); #endif