summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/bits/uClibc_locale.h
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-16 00:26:05 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-16 00:26:05 +0000
commit979f6e640a19d033896dfd387156770586788ced (patch)
tree34da69a068d5a60383723bfa1225726adaf9b979 /libc/sysdeps/linux/common/bits/uClibc_locale.h
parent3039e5421ce80d9934f4f6f6efd556afe388f10e (diff)
Disable some unused stuff, better guard for libc
Diffstat (limited to 'libc/sysdeps/linux/common/bits/uClibc_locale.h')
-rw-r--r--libc/sysdeps/linux/common/bits/uClibc_locale.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/common/bits/uClibc_locale.h b/libc/sysdeps/linux/common/bits/uClibc_locale.h
index a6191a32d..1f26d7b4a 100644
--- a/libc/sysdeps/linux/common/bits/uClibc_locale.h
+++ b/libc/sysdeps/linux/common/bits/uClibc_locale.h
@@ -78,8 +78,8 @@
#include <bits/uClibc_locale_data.h>
#endif
-extern void _locale_set(const unsigned char *p);
-extern void _locale_init(void);
+/* extern void _locale_set(const unsigned char *p); */
+/* extern void _locale_init(void); */
enum {
__ctype_encoding_7_bit, /* C/POSIX */
@@ -323,10 +323,10 @@ extern struct __uclibc_locale_struct * __global_locale;
typedef struct __uclibc_locale_struct *__locale_t;
-#ifdef _LIBC
+#if defined _LIBC && defined IS_IN_libc
extern int __locale_mbrtowc_l(wchar_t *__restrict dst,
const char *__restrict src,
- __locale_t loc );
+ __locale_t loc ) attribute_hidden;
#endif
#ifdef L_setlocale