summaryrefslogtreecommitdiff
path: root/src/malloc/memalign_altname.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2020-06-03 19:07:38 -0400
committerRich Felker <dalias@aerifal.cx>2020-06-03 19:07:38 -0400
commitde798308e8a06608bb5a184dc209002ae1e0a142 (patch)
tree00e3d1927ba97534cd6881ffccfa1625d876d13f /src/malloc/memalign_altname.c
parent96490a4aef5a5d36c5e1b67c77d59d6f60c0741b (diff)
downloadmusl-de798308e8a06608bb5a184dc209002ae1e0a142.tar.gz
rename aligned_alloc source file
this is the first step of swapping the name of the actual implementation to aligned_alloc while preserving history follow.
Diffstat (limited to 'src/malloc/memalign_altname.c')
-rw-r--r--src/malloc/memalign_altname.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/malloc/memalign_altname.c b/src/malloc/memalign_altname.c
new file mode 100644
index 00000000..b6143f30
--- /dev/null
+++ b/src/malloc/memalign_altname.c
@@ -0,0 +1,7 @@
+#include <stdlib.h>
+#include "malloc_impl.h"
+
+void *aligned_alloc(size_t align, size_t len)
+{
+ return __memalign(align, len);
+}