]>
Commit | Line | Data |
---|---|---|
728c24ff | 1 | #ifndef _LOCALE_H |
28f540f4 | 2 | #include <locale/locale.h> |
728c24ff | 3 | |
31341567 | 4 | #ifndef _ISOMAC |
a5cc88e5 RM |
5 | extern __typeof (uselocale) __uselocale; |
6 | ||
30c14c31 | 7 | libc_hidden_proto (setlocale) |
806c3b19 | 8 | libc_hidden_proto (__uselocale) |
30c14c31 | 9 | |
47e8b443 UD |
10 | /* This has to be changed whenever a new locale is defined. */ |
11 | #define __LC_LAST 13 | |
12 | ||
ab26a24a UD |
13 | extern struct loaded_l10nfile *_nl_locale_file_list[] attribute_hidden; |
14 | ||
5db91571 | 15 | /* Locale object for C locale. */ |
4b5b009c UD |
16 | extern const struct __locale_struct _nl_C_locobj attribute_hidden; |
17 | #define _nl_C_locobj_ptr ((struct __locale_struct *) &_nl_C_locobj) | |
5db91571 | 18 | |
728c24ff AJ |
19 | /* Now define the internal interfaces. */ |
20 | extern struct lconv *__localeconv (void); | |
21 | ||
30c14c31 RM |
22 | /* Fetch the name of the current locale set in the given category. */ |
23 | extern const char *__current_locale_name (int category) attribute_hidden; | |
24 | ||
728c24ff | 25 | #endif |
31341567 | 26 | #endif |