svn commit: trunk/uClibc/libc/sysdeps/linux/common/bits
psm at uclibc.org
psm at uclibc.org
Fri Dec 16 00:26:41 UTC 2005
Author: psm
Date: 2005-12-15 16:26:05 -0800 (Thu, 15 Dec 2005)
New Revision: 12909
Log:
Disable some unused stuff, better guard for libc
Modified:
trunk/uClibc/libc/sysdeps/linux/common/bits/uClibc_locale.h
trunk/uClibc/libc/sysdeps/linux/common/bits/uClibc_stdio.h
Changeset:
Modified: trunk/uClibc/libc/sysdeps/linux/common/bits/uClibc_locale.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/common/bits/uClibc_locale.h 2005-12-16 00:22:11 UTC (rev 12908)
+++ trunk/uClibc/libc/sysdeps/linux/common/bits/uClibc_locale.h 2005-12-16 00:26:05 UTC (rev 12909)
@@ -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 @@
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
Modified: trunk/uClibc/libc/sysdeps/linux/common/bits/uClibc_stdio.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/common/bits/uClibc_stdio.h 2005-12-16 00:22:11 UTC (rev 12908)
+++ trunk/uClibc/libc/sysdeps/linux/common/bits/uClibc_stdio.h 2005-12-16 00:26:05 UTC (rev 12909)
@@ -402,7 +402,7 @@
extern int __fgetc_unlocked(FILE *__stream);
extern int __fputc_unlocked(int __c, FILE *__stream);
-/* First define the default definitions. They overriden below as necessary. */
+/* First define the default definitions. They overwritten below as necessary. */
#define __FGETC_UNLOCKED(__stream) (__fgetc_unlocked)((__stream))
#define __FGETC(__stream) (fgetc)((__stream))
#define __GETC_UNLOCKED_MACRO(__stream) (__fgetc_unlocked)((__stream))
More information about the uClibc-cvs
mailing list