about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1997-05-22 15:45:37 +0000
committerUlrich Drepper <drepper@redhat.com>1997-05-22 15:45:37 +0000
commit6b280740cccfd3ab7ddf43952dbca9a3ae44a6ce (patch)
tree74b8e431484ca893db41ce10a5f71dea53c459bf
parent22e8d1115507fcea88d176ea6fc19ce203987cd4 (diff)
downloadglibc-6b280740cccfd3ab7ddf43952dbca9a3ae44a6ce.tar.gz
glibc-6b280740cccfd3ab7ddf43952dbca9a3ae44a6ce.tar.xz
glibc-6b280740cccfd3ab7ddf43952dbca9a3ae44a6ce.zip
_nl_current has LC_ALL + 1 elements.
-rw-r--r--locale/localeinfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/locale/localeinfo.h b/locale/localeinfo.h
index 018220f6df..f7ab9df726 100644
--- a/locale/localeinfo.h
+++ b/locale/localeinfo.h
@@ -96,7 +96,7 @@ extern const struct locale_data *_nl_current_##category;
 
 extern const char *const _nl_category_names[LC_ALL + 1];
 extern const size_t _nl_category_name_sizes[LC_ALL + 1];
-extern const struct locale_data * *const _nl_current[LC_ALL];
+extern const struct locale_data * *const _nl_current[LC_ALL + 1];
 
 /* Name of the standard locale.  */
 extern const char _nl_C_name[];