summaryrefslogtreecommitdiff
path: root/libc/stdlib/malloc/memalign.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdlib/malloc/memalign.c')
-rw-r--r--libc/stdlib/malloc/memalign.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/stdlib/malloc/memalign.c b/libc/stdlib/malloc/memalign.c
index cb4d521b8..74d5dbd2d 100644
--- a/libc/stdlib/malloc/memalign.c
+++ b/libc/stdlib/malloc/memalign.c
@@ -29,6 +29,8 @@
*/
void *memalign (size_t alignment, size_t size);
+/* XXX shadow outer malloc.h */
+libc_hidden_proto(memalign)
void *
memalign (size_t alignment, size_t size)
{
@@ -91,3 +93,4 @@ memalign (size_t alignment, size_t size)
return MALLOC_SETUP (base, end_addr - (unsigned long)base);
}
+libc_hidden_def(memalign)