rename aligned_alloc source file
authorRich Felker <dalias@aerifal.cx>
Wed, 3 Jun 2020 23:07:38 +0000 (19:07 -0400)
committerRich Felker <dalias@aerifal.cx>
Wed, 3 Jun 2020 23:07:38 +0000 (19:07 -0400)
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 [deleted file]
src/malloc/memalign_altname.c [new file with mode: 0644]

diff --git a/src/malloc/aligned_alloc.c b/src/malloc/aligned_alloc.c
deleted file mode 100644 (file)
index b6143f3..0000000
+++ /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);
-}
diff --git a/src/malloc/memalign_altname.c b/src/malloc/memalign_altname.c
new file mode 100644 (file)
index 0000000..b6143f3
--- /dev/null
@@ -0,0 +1,7 @@
+#include <stdlib.h>
+#include "malloc_impl.h"
+
+void *aligned_alloc(size_t align, size_t len)
+{
+       return __memalign(align, len);
+}