about summary refs log tree commit diff
path: root/locale/localeinfo.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-03-10 05:01:07 +0000
committerRoland McGrath <roland@gnu.org>1995-03-10 05:01:07 +0000
commit40deae084780af51458714b5d0c5a88787c8fcd1 (patch)
treefc8c0db5f5181b5c93626f0eabfef849779fd7b1 /locale/localeinfo.h
parentff3d7ed36ae26261cc1c76e5f03ee053d65f9229 (diff)
downloadglibc-40deae084780af51458714b5d0c5a88787c8fcd1.tar.gz
glibc-40deae084780af51458714b5d0c5a88787c8fcd1.tar.xz
glibc-40deae084780af51458714b5d0c5a88787c8fcd1.zip
* locale/categories.def (LC_CTYPE): Merge CLASS_EB and CLASS_EL
 	into just CLASS.  Add standard/optional flag to all items.

	* locale/localeinfo.h (_NL_CURRENT_DEFINE): Fix typo.

	* ctype/ctype.h [__BYTE_ORDER == __LITTLE_ENDIAN] (_ISbit):
 	Rearrange defn to satisfy compiler.

	* locale/localeinfo.h: Declare _nl_current.
Diffstat (limited to 'locale/localeinfo.h')
-rw-r--r--locale/localeinfo.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/locale/localeinfo.h b/locale/localeinfo.h
index bb4738eb5a..4199bf7a1b 100644
--- a/locale/localeinfo.h
+++ b/locale/localeinfo.h
@@ -45,6 +45,7 @@ extern const struct locale_data *_nl_current_##category;
 #undef	DEFINE_CATEGORY
 
 extern const char *const _nl_category_names[LC_ALL];
+extern const struct locale_data * *const _nl_current[LC_ALL];
 
 /* Extract the current CATEGORY locale's string for ITEM.  */
 #define _NL_CURRENT(category, item) \
@@ -53,7 +54,7 @@ extern const char *const _nl_category_names[LC_ALL];
 /* This is used in lc-CATEGORY.c to define _nl_current_CATEGORY.  */
 #define _NL_CURRENT_DEFINE(category) \
   extern const struct locale_data _nl_C_##category; \
-  const struct locale_data *nl_current_##category = &_nl_C_##category
+  const struct locale_data *_nl_current_##category = &_nl_C_##category
 
 /* Load the locale data for CATEGORY from the file specified by *NAME.
    If *NAME is "", use environment variables as specified by POSIX,