summaryrefslogtreecommitdiff
path: root/libc/stdlib/malloc-standard
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdlib/malloc-standard')
-rw-r--r--libc/stdlib/malloc-standard/calloc.c1
-rw-r--r--libc/stdlib/malloc-standard/free.c1
-rw-r--r--libc/stdlib/malloc-standard/mallinfo.c2
-rw-r--r--libc/stdlib/malloc-standard/malloc.h4
-rw-r--r--libc/stdlib/malloc-standard/realloc.c2
5 files changed, 0 insertions, 10 deletions
diff --git a/libc/stdlib/malloc-standard/calloc.c b/libc/stdlib/malloc-standard/calloc.c
index 80ba3d04a..a70516f0e 100644
--- a/libc/stdlib/malloc-standard/calloc.c
+++ b/libc/stdlib/malloc-standard/calloc.c
@@ -16,7 +16,6 @@
#include "malloc.h"
-/* Experimentally off - libc_hidden_proto(memset) */
/* ------------------------------ calloc ------------------------------ */
void* calloc(size_t n_elements, size_t elem_size)
diff --git a/libc/stdlib/malloc-standard/free.c b/libc/stdlib/malloc-standard/free.c
index 9fbf563ab..39e54d635 100644
--- a/libc/stdlib/malloc-standard/free.c
+++ b/libc/stdlib/malloc-standard/free.c
@@ -16,7 +16,6 @@
#include "malloc.h"
-/* libc_hidden_proto(munmap) */
/* ------------------------- __malloc_trim -------------------------
__malloc_trim is an inverse of sorts to __malloc_alloc. It gives memory
diff --git a/libc/stdlib/malloc-standard/mallinfo.c b/libc/stdlib/malloc-standard/mallinfo.c
index 4ebbe8b49..d60d6d9b5 100644
--- a/libc/stdlib/malloc-standard/mallinfo.c
+++ b/libc/stdlib/malloc-standard/mallinfo.c
@@ -16,10 +16,8 @@
#include "malloc.h"
-/* libc_hidden_proto(fprintf) */
/* ------------------------------ mallinfo ------------------------------ */
-/* libc_hidden_proto(mallinfo) */
struct mallinfo mallinfo(void)
{
mstate av;
diff --git a/libc/stdlib/malloc-standard/malloc.h b/libc/stdlib/malloc-standard/malloc.h
index 524468cbe..90c9fd14d 100644
--- a/libc/stdlib/malloc-standard/malloc.h
+++ b/libc/stdlib/malloc-standard/malloc.h
@@ -24,10 +24,6 @@
#include <sys/mman.h>
#include <bits/uClibc_mutex.h>
-/* libc_hidden_proto(mmap) */
-/* libc_hidden_proto(sysconf) */
-/* libc_hidden_proto(sbrk) */
-/* libc_hidden_proto(abort) */
__UCLIBC_MUTEX_EXTERN(__malloc_lock);
diff --git a/libc/stdlib/malloc-standard/realloc.c b/libc/stdlib/malloc-standard/realloc.c
index 95eb0d38a..e060b70ea 100644
--- a/libc/stdlib/malloc-standard/realloc.c
+++ b/libc/stdlib/malloc-standard/realloc.c
@@ -16,8 +16,6 @@
#include "malloc.h"
-/* libc_hidden_proto(mremap) */
-/* Experimentally off - libc_hidden_proto(memcpy) */
/* ------------------------------ realloc ------------------------------ */
void* realloc(void* oldmem, size_t bytes)