diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-09-18 23:07:26 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-09-18 23:07:26 +0200 |
commit | 93f8a2e834eed69aff7ef3be8c2baba14bab0658 (patch) | |
tree | 347b5239f26d3b5f526fffcf7afe151e83124a61 /libc/string | |
parent | 21730caa6647f645974e132ca8afec79b4eeab2b (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/string')
-rw-r--r-- | libc/string/i386/memchr.c | 2 | ||||
-rw-r--r-- | libc/string/i386/memmove.c | 2 | ||||
-rw-r--r-- | libc/string/i386/strchrnul.c | 2 | ||||
-rw-r--r-- | libc/string/i386/strncat.c | 2 | ||||
-rw-r--r-- | libc/string/i386/strncpy.c | 2 | ||||
-rw-r--r-- | libc/string/i386/strnlen.c | 2 | ||||
-rw-r--r-- | libc/string/strcasecmp.c | 4 | ||||
-rw-r--r-- | libc/string/strcasestr.c | 4 | ||||
-rw-r--r-- | libc/string/strncasecmp.c | 2 |
9 files changed, 6 insertions, 16 deletions
diff --git a/libc/string/i386/memchr.c b/libc/string/i386/memchr.c index c2fc44b4a..1960f6ba4 100644 --- a/libc/string/i386/memchr.c +++ b/libc/string/i386/memchr.c @@ -33,7 +33,7 @@ #include <string.h> #undef memchr -//#define memchr TESTING +/*#define memchr TESTING*/ void *memchr(const void *s, int c, size_t count) { void *edi; diff --git a/libc/string/i386/memmove.c b/libc/string/i386/memmove.c index 72d8002a5..0ec8016a5 100644 --- a/libc/string/i386/memmove.c +++ b/libc/string/i386/memmove.c @@ -33,7 +33,7 @@ #include <string.h> #undef memmove -//#define memmove TESTING +/*#define memmove TESTING*/ void *memmove(void *dest, const void *src, size_t n) { int eax, ecx, esi, edi; diff --git a/libc/string/i386/strchrnul.c b/libc/string/i386/strchrnul.c index c4da2b587..d48427214 100644 --- a/libc/string/i386/strchrnul.c +++ b/libc/string/i386/strchrnul.c @@ -9,7 +9,7 @@ #include <string.h> #undef strchrnul -//#define strchrnul TESTING +/*#define strchrnul TESTING*/ char *strchrnul(const char *s, int c) { int esi; diff --git a/libc/string/i386/strncat.c b/libc/string/i386/strncat.c index 640b0d213..12f0a302b 100644 --- a/libc/string/i386/strncat.c +++ b/libc/string/i386/strncat.c @@ -33,7 +33,7 @@ #include <string.h> #undef strncat -//#define strncat TESTING +/*#define strncat TESTING*/ char *strncat(char * dest, const char * src, size_t count) { int esi, edi, eax, ecx, edx; diff --git a/libc/string/i386/strncpy.c b/libc/string/i386/strncpy.c index e1c7f1dcf..99d104b0d 100644 --- a/libc/string/i386/strncpy.c +++ b/libc/string/i386/strncpy.c @@ -33,7 +33,7 @@ #include <string.h> #undef strncpy -//#define strncpy TESTING +/*#define strncpy TESTING*/ char *strncpy(char * dest, const char * src, size_t count) { int esi, edi, ecx, eax; diff --git a/libc/string/i386/strnlen.c b/libc/string/i386/strnlen.c index 3abde48e2..f58f698d1 100644 --- a/libc/string/i386/strnlen.c +++ b/libc/string/i386/strnlen.c @@ -35,7 +35,7 @@ #ifdef __USE_GNU #undef strnlen -//#define strnlen TESTING +/*#define strnlen TESTING*/ size_t strnlen(const char *s, size_t count) { int edx; diff --git a/libc/string/strcasecmp.c b/libc/string/strcasecmp.c index 20b3cd8d7..33e48fa22 100644 --- a/libc/string/strcasecmp.c +++ b/libc/string/strcasecmp.c @@ -12,8 +12,6 @@ #ifdef WANT_WIDE # define strcasecmp wcscasecmp # define strcasecmp_l wcscasecmp_l -# if defined(__USE_GNU) && defined(__UCLIBC_HAS_XLOCALE__) -# endif # ifdef __UCLIBC_DO_XLOCALE # define TOLOWER(C) towlower_l((C), locale_arg) # else @@ -23,8 +21,6 @@ # ifdef __UCLIBC_DO_XLOCALE # define TOLOWER(C) tolower_l((C), locale_arg) # else -#if !defined __UCLIBC_HAS_XLOCALE__ && defined __UCLIBC_HAS_CTYPE_TABLES__ -#endif # define TOLOWER(C) tolower((C)) # endif #endif diff --git a/libc/string/strcasestr.c b/libc/string/strcasestr.c index 3ca4df088..3334086bf 100644 --- a/libc/string/strcasestr.c +++ b/libc/string/strcasestr.c @@ -8,10 +8,6 @@ #include "_string.h" #include <ctype.h> -#ifdef __UCLIBC_HAS_XLOCALE__ -#elif defined __UCLIBC_HAS_CTYPE_TABLES__ -#endif - char *strcasestr(const char *s1, const char *s2) { register const char *s = s1; diff --git a/libc/string/strncasecmp.c b/libc/string/strncasecmp.c index 8f768d6f1..b290e5a22 100644 --- a/libc/string/strncasecmp.c +++ b/libc/string/strncasecmp.c @@ -12,8 +12,6 @@ #ifdef WANT_WIDE # define strncasecmp wcsncasecmp # define strncasecmp_l wcsncasecmp_l -# if defined(__USE_GNU) && defined(__UCLIBC_HAS_XLOCALE__) -# endif # ifdef __UCLIBC_DO_XLOCALE # define TOLOWER(C) towlower_l((C), locale_arg) # else |