From de798308e8a06608bb5a184dc209002ae1e0a142 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Wed, 3 Jun 2020 19:07:38 -0400 Subject: 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. --- src/malloc/aligned_alloc.c | 7 ------- src/malloc/memalign_altname.c | 7 +++++++ 2 files changed, 7 insertions(+), 7 deletions(-) delete mode 100644 src/malloc/aligned_alloc.c create mode 100644 src/malloc/memalign_altname.c diff --git a/src/malloc/aligned_alloc.c b/src/malloc/aligned_alloc.c deleted file mode 100644 index b6143f30..00000000 --- a/src/malloc/aligned_alloc.c +++ /dev/null @@ -1,7 +0,0 @@ -#include -#include "malloc_impl.h" - -void *aligned_alloc(size_t align, size_t len) -{ - return __memalign(align, len); -} 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 +#include "malloc_impl.h" + +void *aligned_alloc(size_t align, size_t len) +{ + return __memalign(align, len); +} -- cgit v1.2.1