diff options
author | Rich Felker <dalias@aerifal.cx> | 2020-06-03 19:07:38 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2020-06-03 19:07:38 -0400 |
commit | de798308e8a06608bb5a184dc209002ae1e0a142 (patch) | |
tree | 00e3d1927ba97534cd6881ffccfa1625d876d13f /src/malloc/memalign_altname.c | |
parent | 96490a4aef5a5d36c5e1b67c77d59d6f60c0741b (diff) | |
download | musl-de798308e8a06608bb5a184dc209002ae1e0a142.tar.gz musl-de798308e8a06608bb5a184dc209002ae1e0a142.tar.bz2 musl-de798308e8a06608bb5a184dc209002ae1e0a142.tar.xz musl-de798308e8a06608bb5a184dc209002ae1e0a142.zip |
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.
Diffstat (limited to 'src/malloc/memalign_altname.c')
-rw-r--r-- | src/malloc/memalign_altname.c | 7 |
1 files changed, 7 insertions, 0 deletions
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 <stdlib.h> +#include "malloc_impl.h" + +void *aligned_alloc(size_t align, size_t len) +{ + return __memalign(align, len); +} |