rename memalign source file back to its proper name
authorRich Felker <dalias@aerifal.cx>
Wed, 3 Jun 2020 23:13:40 +0000 (19:13 -0400)
committerRich Felker <dalias@aerifal.cx>
Wed, 3 Jun 2020 23:13:40 +0000 (19:13 -0400)
src/malloc/memalign.c [new file with mode: 0644]
src/malloc/memalign_altname.c [deleted file]

diff --git a/src/malloc/memalign.c b/src/malloc/memalign.c
new file mode 100644 (file)
index 0000000..32cd87d
--- /dev/null
@@ -0,0 +1,7 @@
+#define _BSD_SOURCE
+#include <stdlib.h>
+
+void *memalign(size_t align, size_t len)
+{
+       return aligned_alloc(align, len);
+}
diff --git a/src/malloc/memalign_altname.c b/src/malloc/memalign_altname.c
deleted file mode 100644 (file)
index 32cd87d..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-#define _BSD_SOURCE
-#include <stdlib.h>
-
-void *memalign(size_t align, size_t len)
-{
-       return aligned_alloc(align, len);
-}