diff options
author | Manuel Novoa III <mjn3@codepoet.org> | 2003-08-24 03:49:13 +0000 |
---|---|---|
committer | Manuel Novoa III <mjn3@codepoet.org> | 2003-08-24 03:49:13 +0000 |
commit | 50660812be5588036a14fc85af16bccef68fac02 (patch) | |
tree | 65f25cc1dda3c7efc76efee2c61b28973465db2a /include/locale.h | |
parent | 02f74937667727e32c591afe42e90e2b515ab61e (diff) |
Fix a few bugs in the new extended locale functions.
Move stub gettext functions to a stub libintl to make switching in
gnu gettext easier. Also add a few gnu-isms.
Change to using hidden names with global weak aliases for the extended
locale functions, as expected by libstd++.
Slightly rework the locale data generation stuff to allow pregenerated
locale data to be used with buildroot.
Diffstat (limited to 'include/locale.h')
-rw-r--r-- | include/locale.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/locale.h b/include/locale.h index 02d33a0d4..d7f90c969 100644 --- a/include/locale.h +++ b/include/locale.h @@ -218,6 +218,12 @@ extern __locale_t uselocale (__locale_t __dataset) __THROW; Passing this value to any other function has undefined behavior. */ # define LC_GLOBAL_LOCALE ((__locale_t) -1L) +extern __locale_t __newlocale (int __category_mask, __const char *__locale, + __locale_t __base) __THROW; +extern __locale_t __duplocale (__locale_t __dataset) __THROW; +extern void __freelocale (__locale_t __dataset) __THROW; +extern __locale_t __uselocale (__locale_t __dataset) __THROW; + #endif __END_DECLS |