summaryrefslogtreecommitdiff
path: root/libc/stdlib/malloc-standard/memalign.c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2018-01-31 06:18:06 +0000
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2018-01-31 18:48:29 +0000
commit8948296356072119a07c6b9435dc16bdc74bdc56 (patch)
tree9d67b1e8fd086824a0afdc9870c17c568626e8bf /libc/stdlib/malloc-standard/memalign.c
parent1bc015efddaf7dc4ddd1b6b6831c43e7ad4582c0 (diff)
malloc: add glibc compat symbols
Diffstat (limited to 'libc/stdlib/malloc-standard/memalign.c')
-rw-r--r--libc/stdlib/malloc-standard/memalign.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/stdlib/malloc-standard/memalign.c b/libc/stdlib/malloc-standard/memalign.c
index 8cd6f582c..dba65db3d 100644
--- a/libc/stdlib/malloc-standard/memalign.c
+++ b/libc/stdlib/malloc-standard/memalign.c
@@ -129,3 +129,5 @@ void* memalign(size_t alignment, size_t bytes)
}
weak_alias(memalign, aligned_alloc)
libc_hidden_def(memalign)
+/* glibc compatibilty */
+weak_alias(memalign, __libc_memalign)