svn commit: trunk/uClibc/libc/misc/wctype
psm at uclibc.org
psm at uclibc.org
Mon Nov 28 13:00:55 UTC 2005
Author: psm
Date: 2005-11-28 05:00:54 -0800 (Mon, 28 Nov 2005)
New Revision: 12550
Log:
Implement and hide __wctype
Modified:
trunk/uClibc/libc/misc/wctype/wctype.c
Changeset:
Modified: trunk/uClibc/libc/misc/wctype/wctype.c
===================================================================
--- trunk/uClibc/libc/misc/wctype/wctype.c 2005-11-28 12:56:52 UTC (rev 12549)
+++ trunk/uClibc/libc/misc/wctype/wctype.c 2005-11-28 13:00:54 UTC (rev 12550)
@@ -38,6 +38,8 @@
#include <stdint.h>
#include <bits/uClibc_uwchar.h>
+extern wctype_t __wctype (__const char *__property) attribute_hidden;
+
#if defined(__LOCALE_C_ONLY) && defined(__UCLIBC_DO_XLOCALE)
#error xlocale functionality is not supported in stub locale mode.
#endif
@@ -480,7 +482,7 @@
static const unsigned char typestring[] = __CTYPE_TYPESTRING;
/* extern const unsigned char typestring[]; */
-wctype_t wctype(const char *property)
+wctype_t attribute_hidden __wctype(const char *property)
{
const unsigned char *p;
int i;
@@ -498,6 +500,7 @@
/* TODO - Add locale-specific classifications. */
return 0;
}
+strong_alias(__wctype,wctype)
#endif
/**********************************************************************/
@@ -509,7 +512,7 @@
wctype_t __wctype_l (const char *property, __locale_t locale)
{
- return wctype(property);
+ return __wctype(property);
}
weak_alias(__wctype_l, wctype_l)
More information about the uClibc-cvs
mailing list