svn commit: trunk/uClibc/include

psm at uclibc.org psm at uclibc.org
Wed Mar 22 15:41:54 UTC 2006


Author: psm
Date: 2006-03-22 07:41:52 -0800 (Wed, 22 Mar 2006)
New Revision: 14600

Log:
Comment __mbrlen

Modified:
   trunk/uClibc/include/wchar.h


Changeset:
Modified: trunk/uClibc/include/wchar.h
===================================================================
--- trunk/uClibc/include/wchar.h	2006-03-22 15:24:24 UTC (rev 14599)
+++ trunk/uClibc/include/wchar.h	2006-03-22 15:41:52 UTC (rev 14600)
@@ -329,8 +329,10 @@
 		       mbstate_t *__restrict __ps) __THROW;
 
 /* Return number of bytes in multibyte character pointed to by S.  */
+#if 0 /* uClibc: disabled */
 extern size_t __mbrlen (__const char *__restrict __s, size_t __n,
 			mbstate_t *__restrict __ps) __THROW;
+#endif
 extern size_t mbrlen (__const char *__restrict __s, size_t __n,
 		      mbstate_t *__restrict __ps) __THROW;
 
@@ -721,8 +723,7 @@
 			__const struct tm *__restrict __tp) __THROW;
 __END_NAMESPACE_C99
 
-# ifdef __USE_GNU
-#ifdef __UCLIBC_HAS_XLOCALE__
+# if defined __USE_GNU && defined __UCLIBC_HAS_XLOCALE__
 # include <xlocale.h>
 
 /* Similar to `wcsftime' but takes the information from
@@ -731,7 +732,6 @@
 			  __const wchar_t *__restrict __format,
 			  __const struct tm *__restrict __tp,
 			  __locale_t __loc) __THROW;
-#endif /* __UCLIBC_HAS_XLOCALE__ */
 # endif
 
 /* The X/Open standard demands that most of the functions defined in




More information about the uClibc-cvs mailing list