diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2009-09-18 20:57:40 +0200 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2009-09-18 20:57:40 +0200 |
commit | 21730caa6647f645974e132ca8afec79b4eeab2b (patch) | |
tree | 6c0a0e491526f19ab08062d7f22448ac60ca4bf5 /libc/stdlib/malloc | |
parent | 35c8387f6d3dd3d901bdc9bb7eb1c681cd1b2c0d (diff) |
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 <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/stdlib/malloc')
-rw-r--r-- | libc/stdlib/malloc/calloc.c | 1 | ||||
-rw-r--r-- | libc/stdlib/malloc/free.c | 2 | ||||
-rw-r--r-- | libc/stdlib/malloc/heap_debug.c | 3 | ||||
-rw-r--r-- | libc/stdlib/malloc/malloc.c | 2 | ||||
-rw-r--r-- | libc/stdlib/malloc/malloc_debug.c | 4 | ||||
-rw-r--r-- | libc/stdlib/malloc/realloc.c | 1 |
6 files changed, 0 insertions, 13 deletions
diff --git a/libc/stdlib/malloc/calloc.c b/libc/stdlib/malloc/calloc.c index 79e6ec6c7..7ac94b83d 100644 --- a/libc/stdlib/malloc/calloc.c +++ b/libc/stdlib/malloc/calloc.c @@ -22,7 +22,6 @@ #include <string.h> #include <errno.h> -/* Experimentally off - libc_hidden_proto(memset) */ void * calloc(size_t nmemb, size_t lsize) { diff --git a/libc/stdlib/malloc/free.c b/libc/stdlib/malloc/free.c index 5dd3a7625..c17e7ec2a 100644 --- a/libc/stdlib/malloc/free.c +++ b/libc/stdlib/malloc/free.c @@ -15,8 +15,6 @@ #include <unistd.h> #include <sys/mman.h> -/* libc_hidden_proto(munmap) */ -/* libc_hidden_proto(sbrk) */ #include "malloc.h" #include "heap.h" diff --git a/libc/stdlib/malloc/heap_debug.c b/libc/stdlib/malloc/heap_debug.c index f1ccc6f2d..5f17aae04 100644 --- a/libc/stdlib/malloc/heap_debug.c +++ b/libc/stdlib/malloc/heap_debug.c @@ -17,9 +17,6 @@ #include <string.h> #include <unistd.h> -/* libc_hidden_proto(vfprintf) */ -/* libc_hidden_proto(fprintf) */ -/* libc_hidden_proto(_exit) */ #include "malloc.h" #include "heap.h" diff --git a/libc/stdlib/malloc/malloc.c b/libc/stdlib/malloc/malloc.c index 19877db89..f4bbc71a2 100644 --- a/libc/stdlib/malloc/malloc.c +++ b/libc/stdlib/malloc/malloc.c @@ -16,8 +16,6 @@ #include <errno.h> #include <sys/mman.h> -/* libc_hidden_proto(mmap) */ -/* libc_hidden_proto(sbrk) */ #include "malloc.h" #include "heap.h" diff --git a/libc/stdlib/malloc/malloc_debug.c b/libc/stdlib/malloc/malloc_debug.c index 01f9bfd6f..1a5374faa 100644 --- a/libc/stdlib/malloc/malloc_debug.c +++ b/libc/stdlib/malloc/malloc_debug.c @@ -16,10 +16,6 @@ #include <unistd.h> #include <stdarg.h> -/* libc_hidden_proto(atoi) */ -/* libc_hidden_proto(vfprintf) */ -/* libc_hidden_proto(putc) */ -/* libc_hidden_proto(getenv) */ #include "malloc.h" #include "heap.h" diff --git a/libc/stdlib/malloc/realloc.c b/libc/stdlib/malloc/realloc.c index a8271995b..fa779205a 100644 --- a/libc/stdlib/malloc/realloc.c +++ b/libc/stdlib/malloc/realloc.c @@ -15,7 +15,6 @@ #include <string.h> #include <errno.h> -/* Experimentally off - libc_hidden_proto(memcpy) */ #include "malloc.h" #include "heap.h" |