summaryrefslogtreecommitdiff
path: root/libc/stdlib/malloc-standard
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-05-19 22:57:34 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-05-19 22:57:34 +0000
commit125773133f0fe2425ab3d8305ed880e9010f6803 (patch)
treeffba60dc39bff34a6dc51760c022c6945f8fd2b3 /libc/stdlib/malloc-standard
parent498822b67f68710b11d64a5aaf66aa1b865ef86e (diff)
Moving libc_hidden_proto's into #ifdef UCLIBC_INTERNAL block
in string.h and strings.h. This caught unguarded string ops in libc/inet/ethers.c __ether_line_w() function. I will wait for fallout reports for a week or so, then continue converting more libc_hidden_proto's.
Diffstat (limited to 'libc/stdlib/malloc-standard')
-rw-r--r--libc/stdlib/malloc-standard/calloc.c2
-rw-r--r--libc/stdlib/malloc-standard/realloc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libc/stdlib/malloc-standard/calloc.c b/libc/stdlib/malloc-standard/calloc.c
index b94fb372b..80ba3d04a 100644
--- a/libc/stdlib/malloc-standard/calloc.c
+++ b/libc/stdlib/malloc-standard/calloc.c
@@ -16,7 +16,7 @@
#include "malloc.h"
-libc_hidden_proto(memset)
+/* Experimentally off - libc_hidden_proto(memset) */
/* ------------------------------ calloc ------------------------------ */
void* calloc(size_t n_elements, size_t elem_size)
diff --git a/libc/stdlib/malloc-standard/realloc.c b/libc/stdlib/malloc-standard/realloc.c
index ef436da0d..41cae43d1 100644
--- a/libc/stdlib/malloc-standard/realloc.c
+++ b/libc/stdlib/malloc-standard/realloc.c
@@ -17,7 +17,7 @@
#include "malloc.h"
libc_hidden_proto(mremap)
-libc_hidden_proto(memcpy)
+/* Experimentally off - libc_hidden_proto(memcpy) */
/* ------------------------------ realloc ------------------------------ */
void* realloc(void* oldmem, size_t bytes)