diff options
Diffstat (limited to 'include/locale.h')
-rw-r--r-- | include/locale.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/locale.h b/include/locale.h index a79888139b..b339953a93 100644 --- a/include/locale.h +++ b/include/locale.h @@ -1,6 +1,8 @@ #ifndef _LOCALE_H #include <locale/locale.h> +libc_hidden_proto (setlocale) + /* This has to be changed whenever a new locale is defined. */ #define __LC_LAST 13 @@ -12,4 +14,7 @@ extern struct __locale_struct _nl_C_locobj attribute_hidden; /* Now define the internal interfaces. */ extern struct lconv *__localeconv (void); +/* Fetch the name of the current locale set in the given category. */ +extern const char *__current_locale_name (int category) attribute_hidden; + #endif |