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/sysdeps/linux/arm/aeabi_assert.c | 1 - libc/sysdeps/linux/arm/aeabi_localeconv.c | 1 - libc/sysdeps/linux/arm/aeabi_mb_cur_max.c | 1 - libc/sysdeps/linux/arm/aeabi_memclr.c | 1 - libc/sysdeps/linux/arm/aeabi_memcpy.c | 1 - libc/sysdeps/linux/arm/aeabi_memmove.c | 1 - libc/sysdeps/linux/arm/aeabi_memset.c | 1 - libc/sysdeps/linux/arm/brk.c | 1 - libc/sysdeps/linux/arm/ioperm.c | 14 +------------- libc/sysdeps/linux/arm/iopl.c | 1 - 10 files changed, 1 insertion(+), 22 deletions(-) (limited to 'libc/sysdeps/linux/arm') diff --git a/libc/sysdeps/linux/arm/aeabi_assert.c b/libc/sysdeps/linux/arm/aeabi_assert.c index 348ca9b96..a725ad45d 100644 --- a/libc/sysdeps/linux/arm/aeabi_assert.c +++ b/libc/sysdeps/linux/arm/aeabi_assert.c @@ -20,7 +20,6 @@ #include #include -/* libc_hidden_proto(__assert) */ void __aeabi_assert(const char *assertion, const char *file, unsigned int line); void __aeabi_assert(const char *assertion, const char *file, unsigned int line) diff --git a/libc/sysdeps/linux/arm/aeabi_localeconv.c b/libc/sysdeps/linux/arm/aeabi_localeconv.c index 4c34f573f..0cd0f37f2 100644 --- a/libc/sysdeps/linux/arm/aeabi_localeconv.c +++ b/libc/sysdeps/linux/arm/aeabi_localeconv.c @@ -18,7 +18,6 @@ #include -/* libc_hidden_proto(localeconv) */ struct lconv * __aeabi_localeconv (void); struct lconv * __aeabi_localeconv (void) diff --git a/libc/sysdeps/linux/arm/aeabi_mb_cur_max.c b/libc/sysdeps/linux/arm/aeabi_mb_cur_max.c index 109feb11d..941e5a625 100644 --- a/libc/sysdeps/linux/arm/aeabi_mb_cur_max.c +++ b/libc/sysdeps/linux/arm/aeabi_mb_cur_max.c @@ -21,7 +21,6 @@ #include #ifdef __UCLIBC_HAS_WCHAR__ -/* libc_hidden_proto(_stdlib_mb_cur_max) */ #endif int diff --git a/libc/sysdeps/linux/arm/aeabi_memclr.c b/libc/sysdeps/linux/arm/aeabi_memclr.c index 9125bac04..c6e2e3a7f 100644 --- a/libc/sysdeps/linux/arm/aeabi_memclr.c +++ b/libc/sysdeps/linux/arm/aeabi_memclr.c @@ -18,7 +18,6 @@ #include -/* Experimentally off - libc_hidden_proto(memset) */ /* Clear memory. Can't alias to bzero because it's not defined in the same translation unit. */ diff --git a/libc/sysdeps/linux/arm/aeabi_memcpy.c b/libc/sysdeps/linux/arm/aeabi_memcpy.c index 604c139f3..2fce4fd29 100644 --- a/libc/sysdeps/linux/arm/aeabi_memcpy.c +++ b/libc/sysdeps/linux/arm/aeabi_memcpy.c @@ -18,7 +18,6 @@ #include -/* Experimentally off - libc_hidden_proto(memcpy) */ /* Copy memory like memcpy, but no return value required. Can't alias to memcpy because it's not defined in the same translation diff --git a/libc/sysdeps/linux/arm/aeabi_memmove.c b/libc/sysdeps/linux/arm/aeabi_memmove.c index 7ecfbb7b9..8a5f33a7f 100644 --- a/libc/sysdeps/linux/arm/aeabi_memmove.c +++ b/libc/sysdeps/linux/arm/aeabi_memmove.c @@ -18,7 +18,6 @@ #include -/* Experimentally off - libc_hidden_proto(memmove) */ /* Copy memory like memmove, but no return value required. Can't alias to memmove because it's not defined in the same translation diff --git a/libc/sysdeps/linux/arm/aeabi_memset.c b/libc/sysdeps/linux/arm/aeabi_memset.c index a37e21fda..eca59b135 100644 --- a/libc/sysdeps/linux/arm/aeabi_memset.c +++ b/libc/sysdeps/linux/arm/aeabi_memset.c @@ -18,7 +18,6 @@ #include -/* Experimentally off - libc_hidden_proto(memset) */ /* Set memory like memset, but different argument order and no return value required. */ diff --git a/libc/sysdeps/linux/arm/brk.c b/libc/sysdeps/linux/arm/brk.c index aaa71cc6d..9e41c5708 100644 --- a/libc/sysdeps/linux/arm/brk.c +++ b/libc/sysdeps/linux/arm/brk.c @@ -21,7 +21,6 @@ #include #include -/* libc_hidden_proto(brk) */ /* This must be initialized data because commons can't have aliases. */ void *__curbrk attribute_hidden = 0; diff --git a/libc/sysdeps/linux/arm/ioperm.c b/libc/sysdeps/linux/arm/ioperm.c index d5e642ca7..a7f6c3067 100644 --- a/libc/sysdeps/linux/arm/ioperm.c +++ b/libc/sysdeps/linux/arm/ioperm.c @@ -46,19 +46,7 @@ #include #include -/* libc_hidden_proto(ioperm) */ - -/* libc_hidden_proto(readlink) */ -/* libc_hidden_proto(mmap) */ -/* libc_hidden_proto(sscanf) */ -/* libc_hidden_proto(fscanf) */ -/* libc_hidden_proto(fprintf) */ -/* libc_hidden_proto(fgets) */ -/* libc_hidden_proto(fopen) */ -/* libc_hidden_proto(fclose) */ -/* Experimentally off - libc_hidden_proto(strcmp) */ -/* libc_hidden_proto(open) */ -/* libc_hidden_proto(close) */ + #include diff --git a/libc/sysdeps/linux/arm/iopl.c b/libc/sysdeps/linux/arm/iopl.c index ecb1cd15d..df953d3c8 100644 --- a/libc/sysdeps/linux/arm/iopl.c +++ b/libc/sysdeps/linux/arm/iopl.c @@ -21,7 +21,6 @@ #include #include -/* libc_hidden_proto(ioperm) */ #define MAX_PORT 0x10000 -- cgit v1.2.3