summary refs log tree commit diff
path: root/locale
diff options
context:
space:
mode:
Diffstat (limited to 'locale')
-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