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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/stdlib/malloc/memalign.c b/libc/stdlib/malloc/memalign.c
index 74d5dbd2d..6943279ac 100644
--- a/libc/stdlib/malloc/memalign.c
+++ b/libc/stdlib/malloc/memalign.c
@@ -93,4 +93,5 @@ memalign (size_t alignment, size_t size)
return MALLOC_SETUP (base, end_addr - (unsigned long)base);
}
+weak_alias(memalign, aligned_alloc)
libc_hidden_def(memalign)