aboutsummaryrefslogtreecommitdiff
path: root/locale/setlocale.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-07-08 06:17:09 +0000
committerRoland McGrath <roland@gnu.org>1996-07-08 06:17:09 +0000
commit0676b5fdca8d4f2a8dd442db4d50dc2c1ee8729f (patch)
tree2d06a28e869fac310c4cedef27e9b12255350bb6 /locale/setlocale.c
parent467ab2479117aa161042aad4b29435b36c9e17dd (diff)
downloadglibc-0676b5fdca8d4f2a8dd442db4d50dc2c1ee8729f.tar
glibc-0676b5fdca8d4f2a8dd442db4d50dc2c1ee8729f.tar.gz
glibc-0676b5fdca8d4f2a8dd442db4d50dc2c1ee8729f.tar.bz2
glibc-0676b5fdca8d4f2a8dd442db4d50dc2c1ee8729f.zip
Mon Jul 8 00:11:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* libc-symbols.h (symbol_set_declare): Use weak_extern instead of weak_symbol. * csu/initfini.c (_init): Likewise. * locale/setlocale.c (DEFINE_CATEGORY): Likewise. * misc/efgcvt_r.c: Likewise. * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise. * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
Diffstat (limited to 'locale/setlocale.c')
-rw-r--r--locale/setlocale.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/locale/setlocale.c b/locale/setlocale.c
index 98a4ffe63b..eab1a33f89 100644
--- a/locale/setlocale.c
+++ b/locale/setlocale.c
@@ -36,7 +36,7 @@ Boston, MA 02111-1307, USA. */
#define DEFINE_CATEGORY(category, category_name, items, a, b, c, d) \
extern const struct locale_data *_nl_current_##category; \
extern const struct locale_data _nl_C_##category; \
-weak_symbol (_nl_current_##category) weak_symbol (_nl_C_##category)
+weak_extern (_nl_current_##category) weak_extern (_nl_C_##category)
#include "categories.def"
#undef DEFINE_CATEGORY