svn commit: trunk/uClibc/libc/stdlib

psm at uclibc.org psm at uclibc.org
Wed Feb 15 11:47:00 UTC 2006


Author: psm
Date: 2006-02-15 03:46:59 -0800 (Wed, 15 Feb 2006)
New Revision: 14053

Log:
Reorganize a bit for IMA

Modified:
   trunk/uClibc/libc/stdlib/stdlib.c


Changeset:
Modified: trunk/uClibc/libc/stdlib/stdlib.c
===================================================================
--- trunk/uClibc/libc/stdlib/stdlib.c	2006-02-15 11:45:51 UTC (rev 14052)
+++ trunk/uClibc/libc/stdlib/stdlib.c	2006-02-15 11:46:59 UTC (rev 14053)
@@ -64,24 +64,12 @@
 #include <stdlib.h>
 #include <locale.h>
 
-#ifdef __UCLIBC_DO_XLOCALE
-libc_hidden_proto(isspace_l)
-#else
-libc_hidden_proto(isspace)
-#endif
-
 #ifdef __UCLIBC_HAS_WCHAR__
 
 #include <wchar.h>
 #include <wctype.h>
 #include <bits/uClibc_uwchar.h>
 
-#ifdef __UCLIBC_DO_XLOCALE
-libc_hidden_proto(iswspace_l)
-#else
-libc_hidden_proto(iswspace)
-#endif
-
 #ifdef __UCLIBC_HAS_XLOCALE__
 #include <xlocale.h>
 #endif /* __UCLIBC_HAS_XLOCALE__ */
@@ -449,8 +437,10 @@
 #define Wuchar __uwchar_t
 #ifdef __UCLIBC_DO_XLOCALE
 #define ISSPACE(C) iswspace_l((C), locale_arg)
+libc_hidden_proto(iswspace_l)
 #else
 #define ISSPACE(C) iswspace((C))
+libc_hidden_proto(iswspace)
 #endif
 
 #else  /* defined(L__stdlib_wcsto_l) || defined(L__stdlib_wcsto_l_l) */
@@ -459,8 +449,10 @@
 #define Wuchar unsigned char
 #ifdef __UCLIBC_DO_XLOCALE
 #define ISSPACE(C) isspace_l((C), locale_arg)
+libc_hidden_proto(isspace_l)
 #else
 #define ISSPACE(C) isspace((C))
+libc_hidden_proto(isspace)
 #endif
 
 #endif /* defined(L__stdlib_wcsto_l) || defined(L__stdlib_wcsto_l_l) */
@@ -600,8 +592,10 @@
 #define Wuchar __uwchar_t
 #ifdef __UCLIBC_DO_XLOCALE
 #define ISSPACE(C) iswspace_l((C), locale_arg)
+libc_hidden_proto(iswspace_l)
 #else
 #define ISSPACE(C) iswspace((C))
+libc_hidden_proto(iswspace)
 #endif
 
 #else  /* defined(L__stdlib_wcsto_ll) || defined(L__stdlib_wcsto_ll_l) */
@@ -610,8 +604,10 @@
 #define Wuchar unsigned char
 #ifdef __UCLIBC_DO_XLOCALE
 #define ISSPACE(C) isspace_l((C), locale_arg)
+libc_hidden_proto(isspace_l)
 #else
 #define ISSPACE(C) isspace((C))
+libc_hidden_proto(isspace)
 #endif
 
 #endif /* defined(L__stdlib_wcsto_ll) || defined(L__stdlib_wcsto_ll_l) */




More information about the uClibc-cvs mailing list