summaryrefslogtreecommitdiff
path: root/include/malloc.h
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2013-04-03 22:54:00 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2013-04-03 22:54:00 +0200
commit2be3edacc1f7279ac57b98e49ba3a189ae40b1fd (patch)
treee02109ceeb5efe4e6345bba55d3beaa47c5e99ae /include/malloc.h
parent564a95241f8468145ff85998ef9173c46aed7636 (diff)
stdlib: avoid relocation
valloc uses memalign Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'include/malloc.h')
-rw-r--r--include/malloc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/malloc.h b/include/malloc.h
index a8f50231d..20d799ca5 100644
--- a/include/malloc.h
+++ b/include/malloc.h
@@ -123,6 +123,7 @@ extern void free __MALLOC_P ((__malloc_ptr_t __ptr));
/* Allocate SIZE bytes allocated to ALIGNMENT bytes. */
extern __malloc_ptr_t memalign __MALLOC_P ((size_t __alignment, size_t __size));
+libc_hidden_proto(memalign)
/* Allocate SIZE bytes on a page boundary. */
extern __malloc_ptr_t valloc __MALLOC_P ((size_t __size)) __attribute_malloc__;