summaryrefslogtreecommitdiff
path: root/libc/misc/fnmatch/fnmatch.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-09-18 23:07:26 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2009-09-18 23:07:26 +0200
commit93f8a2e834eed69aff7ef3be8c2baba14bab0658 (patch)
tree347b5239f26d3b5f526fffcf7afe151e83124a61 /libc/misc/fnmatch/fnmatch.c
parent21730caa6647f645974e132ca8afec79b4eeab2b (diff)
convert // comments to /**/; remove empty #if/#endif pairs. no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libc/misc/fnmatch/fnmatch.c')
-rw-r--r--libc/misc/fnmatch/fnmatch.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/libc/misc/fnmatch/fnmatch.c b/libc/misc/fnmatch/fnmatch.c
index 28f744a26..f069e5cea 100644
--- a/libc/misc/fnmatch/fnmatch.c
+++ b/libc/misc/fnmatch/fnmatch.c
@@ -61,10 +61,7 @@
#endif
#ifdef __UCLIBC__
-#define __memset memset
-#ifdef __UCLIBC_HAS_XLOCALE__
-#elif defined __UCLIBC_HAS_CTYPE_TABLES__
-#endif
+# define __memset memset
#endif
/* For platform which support the ISO C amendement 1 functionality we
@@ -73,10 +70,6 @@
/* Solaris 2.5 has a bug: <wchar.h> must be included before <wctype.h>. */
# include <wchar.h>
# include <wctype.h>
-# ifdef __UCLIBC__
-# ifdef __UCLIBC_HAS_LOCALE__
-# endif
-# endif
#endif
/* We need some of the locale data (the collation sequence information)