about summary refs log tree commit diff
path: root/malloc/malloc.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-12-23 23:49:48 -0500
committerUlrich Drepper <drepper@gmail.com>2012-01-01 07:17:21 -0500
commit380d7e87dc80978581e73063dff0e264283c0306 (patch)
tree7d7bf0ae5f0ad112100bc49a2e90bcb94f9345ec /malloc/malloc.c
parentc0e87cc01807aee964014bb6518694e7f42b71a7 (diff)
downloadglibc-380d7e87dc80978581e73063dff0e264283c0306.tar.gz
glibc-380d7e87dc80978581e73063dff0e264283c0306.tar.xz
glibc-380d7e87dc80978581e73063dff0e264283c0306.zip
Implement aligned_alloc
Diffstat (limited to 'malloc/malloc.c')
-rw-r--r--malloc/malloc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/malloc/malloc.c b/malloc/malloc.c
index 8608083adb..300e879b8c 100644
--- a/malloc/malloc.c
+++ b/malloc/malloc.c
@@ -3124,6 +3124,8 @@ public_mEMALIGn(size_t alignment, size_t bytes)
 	 ar_ptr == arena_for_chunk(mem2chunk(p)));
   return p;
 }
+/* For ISO C11.  */
+weak_alias (public_mEMALIGn, aligned_alloc)
 libc_hidden_def (public_mEMALIGn)
 
 void*