about summary refs log tree commit diff
path: root/locale
diff options
context:
space:
mode:
Diffstat (limited to 'locale')
-rw-r--r--locale/C-ctype.c2
-rw-r--r--locale/setlocale.c3
2 files changed, 2 insertions, 3 deletions
diff --git a/locale/C-ctype.c b/locale/C-ctype.c
index 0ea0310093..92b96f21d2 100644
--- a/locale/C-ctype.c
+++ b/locale/C-ctype.c
@@ -367,7 +367,7 @@ const struct locale_data _nl_C_LC_CTYPE =
 	      "print\0" "graph\0" "blank\0" "cntrl\0" "punct\0"  "alnum\0" },
     { string: "tolower\0" "toupper\0" },
     { string: _nl_C_LC_CTYPE_width },
-    { word: 2 },
+    { word: 1 },
     { string: "ANSI_X3.4-1968" }
   }
 };
diff --git a/locale/setlocale.c b/locale/setlocale.c
index 4b6a300481..54ca416887 100644
--- a/locale/setlocale.c
+++ b/locale/setlocale.c
@@ -36,8 +36,7 @@
    then nothing is using the locale data.  */
 #define DEFINE_CATEGORY(category, category_name, items, a, b, c, d) \
 extern struct locale_data *_nl_current_##category;			      \
-extern struct locale_data _nl_C_##category;				      \
-weak_extern (_nl_current_##category) weak_extern (_nl_C_##category)
+extern struct locale_data _nl_C_##category;
 #include "categories.def"
 #undef	DEFINE_CATEGORY