From 21730caa6647f645974e132ca8afec79b4eeab2b Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Fri, 18 Sep 2009 20:57:40 +0200 Subject: trim Experimentally off and uncommented hidden sed -i -e '/Experimentally off - /d' $(grep -rl "Experimentally off - " *) sed -i -e '/^\/\*[[:space:]]*libc_hidden_proto(/d' $(grep -rl "libc_hidden_proto" *) should be a nop Signed-off-by: Bernhard Reutner-Fischer --- libc/string/generic/memcmp.c | 1 - libc/string/generic/memcpy.c | 1 - libc/string/generic/memmem.c | 2 -- libc/string/generic/memmove.c | 2 -- libc/string/generic/memrchr.c | 2 -- libc/string/generic/memset.c | 1 - libc/string/generic/rawmemchr.c | 2 -- libc/string/generic/strcat.c | 1 - libc/string/generic/strchr.c | 2 -- libc/string/generic/strchrnul.c | 2 -- libc/string/generic/strcmp.c | 2 -- libc/string/generic/strcpy.c | 1 - libc/string/generic/strcspn.c | 2 -- libc/string/generic/strlen.c | 2 -- libc/string/generic/strncat.c | 1 - libc/string/generic/strncmp.c | 1 - libc/string/generic/strncpy.c | 1 - libc/string/generic/strnlen.c | 2 -- libc/string/generic/strrchr.c | 2 -- libc/string/generic/strsep.c | 3 --- libc/string/generic/strspn.c | 1 - libc/string/generic/strstr.c | 1 - libc/string/generic/strtok_r.c | 5 ----- 23 files changed, 40 deletions(-) (limited to 'libc/string/generic') diff --git a/libc/string/generic/memcmp.c b/libc/string/generic/memcmp.c index 27db6b3d3..62600cd08 100644 --- a/libc/string/generic/memcmp.c +++ b/libc/string/generic/memcmp.c @@ -21,7 +21,6 @@ #include #include "memcopy.h" -/* Experimentally off - libc_hidden_proto(memcmp) */ #include diff --git a/libc/string/generic/memcpy.c b/libc/string/generic/memcpy.c index a19e0c335..7dd7118fd 100644 --- a/libc/string/generic/memcpy.c +++ b/libc/string/generic/memcpy.c @@ -24,7 +24,6 @@ #include "pagecopy.h" #include "_memcpy_fwd.c" -/* Experimentally off - libc_hidden_proto(memcpy) */ void *memcpy (void *dstpp, const void *srcpp, size_t len) { diff --git a/libc/string/generic/memmem.c b/libc/string/generic/memmem.c index c75bb2426..0fccac77f 100644 --- a/libc/string/generic/memmem.c +++ b/libc/string/generic/memmem.c @@ -20,8 +20,6 @@ #include #ifdef __USE_GNU -/* Experimentally off - libc_hidden_proto(memmem) */ -/* Experimentally off - libc_hidden_proto(memcmp) */ /* Return the first occurrence of NEEDLE in HAYSTACK. */ void *memmem (const void *haystack, size_t haystack_len, diff --git a/libc/string/generic/memmove.c b/libc/string/generic/memmove.c index 7f945b150..b564a7d10 100644 --- a/libc/string/generic/memmove.c +++ b/libc/string/generic/memmove.c @@ -29,8 +29,6 @@ #include "_memcpy_fwd.c" #endif -/* Experimentally off - libc_hidden_proto(memmove) */ -/* Experimentally off - libc_hidden_proto(memcpy) */ static void _wordcopy_bwd_aligned (long int dstp, long int srcp, size_t len) { diff --git a/libc/string/generic/memrchr.c b/libc/string/generic/memrchr.c index 95fe1d4d8..c03a77037 100644 --- a/libc/string/generic/memrchr.c +++ b/libc/string/generic/memrchr.c @@ -27,8 +27,6 @@ #include #ifdef __USE_GNU -/* Experimentally off - libc_hidden_proto(memrchr) */ -/* libc_hidden_proto(abort) */ #include "memcopy.h" diff --git a/libc/string/generic/memset.c b/libc/string/generic/memset.c index 62cc36fe3..7be572765 100644 --- a/libc/string/generic/memset.c +++ b/libc/string/generic/memset.c @@ -19,7 +19,6 @@ #include #include "memcopy.h" -/* Experimentally off - libc_hidden_proto(memset) */ void *memset (void *dstpp, int c, size_t len) { long int dstp = (long int) dstpp; diff --git a/libc/string/generic/rawmemchr.c b/libc/string/generic/rawmemchr.c index 5242734f1..ddefb0997 100644 --- a/libc/string/generic/rawmemchr.c +++ b/libc/string/generic/rawmemchr.c @@ -26,8 +26,6 @@ #include #ifdef __USE_GNU -/* Experimentally off - libc_hidden_proto(rawmemchr) */ -/* libc_hidden_proto(abort) */ #include "memcopy.h" diff --git a/libc/string/generic/strcat.c b/libc/string/generic/strcat.c index e00494038..b19a0dbd5 100644 --- a/libc/string/generic/strcat.c +++ b/libc/string/generic/strcat.c @@ -19,7 +19,6 @@ #include #include "memcopy.h" -/* Experimentally off - libc_hidden_proto(strcat) */ /* Append SRC on the end of DEST. */ char *strcat (char *dest, const char *src) { diff --git a/libc/string/generic/strchr.c b/libc/string/generic/strchr.c index 91de3f4aa..836ccddbf 100644 --- a/libc/string/generic/strchr.c +++ b/libc/string/generic/strchr.c @@ -24,8 +24,6 @@ #include #include -/* Experimentally off - libc_hidden_proto(strchr) */ -/* libc_hidden_proto(abort) */ #include "memcopy.h" diff --git a/libc/string/generic/strchrnul.c b/libc/string/generic/strchrnul.c index 6a25b1c0c..9984d6161 100644 --- a/libc/string/generic/strchrnul.c +++ b/libc/string/generic/strchrnul.c @@ -25,8 +25,6 @@ #include #ifdef __USE_GNU -/* Experimentally off - libc_hidden_proto(strchrnul) */ -/* libc_hidden_proto(abort) */ #include "memcopy.h" diff --git a/libc/string/generic/strcmp.c b/libc/string/generic/strcmp.c index 50acd3548..502b80fb3 100644 --- a/libc/string/generic/strcmp.c +++ b/libc/string/generic/strcmp.c @@ -20,7 +20,6 @@ #include "memcopy.h" -/* Experimentally off - libc_hidden_proto(strcmp) */ /* Compare S1 and S2, returning less than, equal to or greater than zero if S1 is lexicographically less than, equal to or greater than S2. */ @@ -44,7 +43,6 @@ int strcmp (const char *p1, const char *p2) libc_hidden_weak(strcmp) #ifndef __UCLIBC_HAS_LOCALE__ -/* Experimentally off - libc_hidden_proto(strcoll) */ strong_alias(strcmp,strcoll) libc_hidden_def(strcoll) #endif diff --git a/libc/string/generic/strcpy.c b/libc/string/generic/strcpy.c index b9a0a286a..4d070531f 100644 --- a/libc/string/generic/strcpy.c +++ b/libc/string/generic/strcpy.c @@ -21,7 +21,6 @@ #include "memcopy.h" -/* Experimentally off - libc_hidden_proto(strcpy) */ /* Copy SRC to DEST. */ char *strcpy(char *dest, const char *src) { diff --git a/libc/string/generic/strcspn.c b/libc/string/generic/strcspn.c index b65b3b995..f1f39df8c 100644 --- a/libc/string/generic/strcspn.c +++ b/libc/string/generic/strcspn.c @@ -18,8 +18,6 @@ #include -/* Experimentally off - libc_hidden_proto(strcspn) */ -/* Experimentally off - libc_hidden_proto(strchr) */ /* Return the length of the maximum initial segment of S which contains no characters from REJECT. */ diff --git a/libc/string/generic/strlen.c b/libc/string/generic/strlen.c index be899d330..9b6d81dfe 100644 --- a/libc/string/generic/strlen.c +++ b/libc/string/generic/strlen.c @@ -22,8 +22,6 @@ #include #include -/* Experimentally off - libc_hidden_proto(strlen) */ -/* libc_hidden_proto(abort) */ /* Return the length of the null-terminated string STR. Scan for the null terminator quickly by testing four bytes at a time. */ diff --git a/libc/string/generic/strncat.c b/libc/string/generic/strncat.c index 8e3423e49..0863d3669 100644 --- a/libc/string/generic/strncat.c +++ b/libc/string/generic/strncat.c @@ -20,7 +20,6 @@ #include "memcopy.h" -/* Experimentally off - libc_hidden_proto(strncat) */ char *strncat (char *s1, const char *s2, size_t n) { reg_char c; diff --git a/libc/string/generic/strncmp.c b/libc/string/generic/strncmp.c index c49f36d8b..04d6cf2ac 100644 --- a/libc/string/generic/strncmp.c +++ b/libc/string/generic/strncmp.c @@ -19,7 +19,6 @@ #include #include "memcopy.h" -/* Experimentally off - libc_hidden_proto(strncmp) */ /* Compare no more than N characters of S1 and S2, returning less than, equal to or greater than zero if S1 is lexicographically less than, equal to or diff --git a/libc/string/generic/strncpy.c b/libc/string/generic/strncpy.c index d2d693f2b..26b45bb8c 100644 --- a/libc/string/generic/strncpy.c +++ b/libc/string/generic/strncpy.c @@ -19,7 +19,6 @@ #include #include "memcopy.h" -/* Experimentally off - libc_hidden_proto(strncpy) */ char *strncpy (char *s1, const char *s2, size_t n) { reg_char c; diff --git a/libc/string/generic/strnlen.c b/libc/string/generic/strnlen.c index 0bc517a84..85819aaa6 100644 --- a/libc/string/generic/strnlen.c +++ b/libc/string/generic/strnlen.c @@ -25,8 +25,6 @@ #include #ifdef __USE_GNU -/* Experimentally off - libc_hidden_proto(strnlen) */ -/* libc_hidden_proto(abort) */ /* Find the length of S, but scan at most MAXLEN characters. If no '\0' terminator is found in that many characters, return MAXLEN. */ diff --git a/libc/string/generic/strrchr.c b/libc/string/generic/strrchr.c index c85707241..7d169260a 100644 --- a/libc/string/generic/strrchr.c +++ b/libc/string/generic/strrchr.c @@ -18,8 +18,6 @@ #include -/* Experimentally off - libc_hidden_proto(strrchr) */ -/* Experimentally off - libc_hidden_proto(strchr) */ /* Find the last occurrence of C in S. */ char *strrchr (const char *s, int c) diff --git a/libc/string/generic/strsep.c b/libc/string/generic/strsep.c index e02e57068..91dfade85 100644 --- a/libc/string/generic/strsep.c +++ b/libc/string/generic/strsep.c @@ -20,10 +20,7 @@ #ifdef __USE_BSD -/* Experimentally off - libc_hidden_proto(strchr) */ -/* Experimentally off - libc_hidden_proto(strpbrk) */ -/* Experimentally off - libc_hidden_proto(strsep) */ char *strsep (char **stringp, const char *delim) { char *begin, *end; diff --git a/libc/string/generic/strspn.c b/libc/string/generic/strspn.c index 010567744..1d9ec4022 100644 --- a/libc/string/generic/strspn.c +++ b/libc/string/generic/strspn.c @@ -18,7 +18,6 @@ #include -/* Experimentally off - libc_hidden_proto(strspn) */ /* Return the length of the maximum initial segment of S which contains only characters in ACCEPT. */ size_t strspn (const char *s, const char *accept) diff --git a/libc/string/generic/strstr.c b/libc/string/generic/strstr.c index c12dceb33..c3b886a0d 100644 --- a/libc/string/generic/strstr.c +++ b/libc/string/generic/strstr.c @@ -28,7 +28,6 @@ #include -/* Experimentally off - libc_hidden_proto(strstr) */ typedef unsigned chartype; diff --git a/libc/string/generic/strtok_r.c b/libc/string/generic/strtok_r.c index 7648212f7..75ce5be2a 100644 --- a/libc/string/generic/strtok_r.c +++ b/libc/string/generic/strtok_r.c @@ -19,15 +19,10 @@ #include -/* Experimentally off - libc_hidden_proto(strtok_r) */ -/* Experimentally off - libc_hidden_proto(strspn) */ -/* Experimentally off - libc_hidden_proto(strpbrk) */ #ifdef __USE_GNU # define __rawmemchr rawmemchr -/* Experimentally off - libc_hidden_proto(rawmemchr) */ #else # define __rawmemchr strchr -/* Experimentally off - libc_hidden_proto(strchr) */ #endif #if 0 Parse S into tokens separated by characters in DELIM. -- cgit v1.2.3