summaryrefslogtreecommitdiff
path: root/libc/string/_collate.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-09-19 02:09:48 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2009-09-19 02:09:48 +0200
commit7aa9c2486c2d85a8de6204ab3734f457d450cdb6 (patch)
tree7ce42796e9613af1c50ffe8676f4bf5f85d44b27 /libc/string/_collate.c
parent93f8a2e834eed69aff7ef3be8c2baba14bab0658 (diff)
remove a few more empty #if/#endif pairs
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libc/string/_collate.c')
-rw-r--r--libc/string/_collate.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/libc/string/_collate.c b/libc/string/_collate.c
index eadbd6c6e..77d9eb62c 100644
--- a/libc/string/_collate.c
+++ b/libc/string/_collate.c
@@ -19,9 +19,6 @@
#include <errno.h>
#include <assert.h>
-#ifdef WANT_WIDE
-#endif
-
#ifdef __UCLIBC_HAS_LOCALE__
#if defined(L_strxfrm) || defined(L_strxfrm_l) || defined(L_wcsxfrm) || defined(L_wcsxfrm_l)
@@ -512,9 +509,9 @@ int __XL_NPP(wcscoll) (const Wchar *s0, const Wchar *s1 __LOCALE_PARAM )
if (!CUR_COLLATE->num_weights) { /* C locale */
#ifdef WANT_WIDE
return wcscmp(s0, s1);
-#else /* WANT_WIDE */
+#else
return strcmp(s0, s1);
-#endif /* WANT_WIDE */
+#endif
}
pass = 0;