]> git.ipfire.org Git - thirdparty/glibc.git/blob - include/locale.h
powerpc: Fix build of wcscpy with --disable-multi-arch
[thirdparty/glibc.git] / include / locale.h
1 #ifndef _LOCALE_H
2 #include <locale/locale.h>
3
4 #ifndef _ISOMAC
5 extern __typeof (uselocale) __uselocale;
6
7 libc_hidden_proto (setlocale)
8 libc_hidden_proto (__uselocale)
9
10 /* This has to be changed whenever a new locale is defined. */
11 #define __LC_LAST 13
12
13 extern struct loaded_l10nfile *_nl_locale_file_list[] attribute_hidden;
14
15 /* Locale object for C locale. */
16 extern const struct __locale_struct _nl_C_locobj attribute_hidden;
17 #define _nl_C_locobj_ptr ((struct __locale_struct *) &_nl_C_locobj)
18
19 /* Now define the internal interfaces. */
20 extern struct lconv *__localeconv (void);
21
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
25 #endif
26 #endif