aboutsummaryrefslogtreecommitdiff
path: root/libc/musl/src/malloc/aligned_alloc.c
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2019-07-15 17:54:50 -0400
committerAndrew Kelley <andrew@ziglang.org>2019-07-15 17:54:50 -0400
commit49d1a4c56218cf932adddf60ad2f56a8386c76fc (patch)
tree37b25a99f8e5f070e4866e2b96d799f08d1fbfef /libc/musl/src/malloc/aligned_alloc.c
parent51a3938b04854f3b075fb21082c865f46e915fa8 (diff)
downloadzig-49d1a4c56218cf932adddf60ad2f56a8386c76fc.tar.gz
zig-49d1a4c56218cf932adddf60ad2f56a8386c76fc.zip
move lib dirs to lib subdir
also start prefering NtDll API. so far: * NtQueryInformationFile * NtClose adds a performance workaround for windows unicode conversion. but that should probably be removed before merging
Diffstat (limited to 'libc/musl/src/malloc/aligned_alloc.c')
-rw-r--r--libc/musl/src/malloc/aligned_alloc.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/libc/musl/src/malloc/aligned_alloc.c b/libc/musl/src/malloc/aligned_alloc.c
deleted file mode 100644
index b6143f303f..0000000000
--- a/libc/musl/src/malloc/aligned_alloc.c
+++ /dev/null
@@ -1,7 +0,0 @@
-#include <stdlib.h>
-#include "malloc_impl.h"
-
-void *aligned_alloc(size_t align, size_t len)
-{
- return __memalign(align, len);
-}