summaryrefslogtreecommitdiff
path: root/libc/stdlib/malloc
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdlib/malloc')
-rw-r--r--libc/stdlib/malloc/calloc.c1
-rw-r--r--libc/stdlib/malloc/free.c2
-rw-r--r--libc/stdlib/malloc/heap_debug.c3
-rw-r--r--libc/stdlib/malloc/malloc.c2
-rw-r--r--libc/stdlib/malloc/malloc_debug.c4
-rw-r--r--libc/stdlib/malloc/realloc.c1
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"