From: Rich Felker Date: Wed, 3 Jun 2020 23:13:40 +0000 (-0400) Subject: rename memalign source file back to its proper name X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e07138b880dcc72d3f1b3a2d2c1af75c2484c8d7;p=oweals%2Fmusl.git rename memalign source file back to its proper name --- diff --git a/src/malloc/memalign.c b/src/malloc/memalign.c new file mode 100644 index 00000000..32cd87d8 --- /dev/null +++ b/src/malloc/memalign.c @@ -0,0 +1,7 @@ +#define _BSD_SOURCE +#include + +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 index 32cd87d8..00000000 --- a/src/malloc/memalign_altname.c +++ /dev/null @@ -1,7 +0,0 @@ -#define _BSD_SOURCE -#include - -void *memalign(size_t align, size_t len) -{ - return aligned_alloc(align, len); -}