From 979f6e640a19d033896dfd387156770586788ced Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Fri, 16 Dec 2005 00:26:05 +0000 Subject: Disable some unused stuff, better guard for libc --- libc/sysdeps/linux/common/bits/uClibc_locale.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libc/sysdeps/linux/common/bits/uClibc_locale.h') 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 #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 -- cgit v1.2.3