commit 641564793a7b58bda2a718175d8ffe2dbb2efef3
parent 39552c5ba4e1ac425a3a6ecc065e6dbbe197420c
Author: sin <sin@2f30.org>
Date: Tue, 30 Jul 2013 12:32:56 +0100
Rename mmap_page_aligned() to mmap_pages()
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/alloc.c b/alloc.c
@@ -26,7 +26,7 @@ struct chunk {
} chunks[NALLOC];
void *
-mmap_page_aligned(size_t nbytes)
+mmap_pages(size_t nbytes)
{
void *addr;
int ret;
@@ -57,7 +57,7 @@ malloc(size_t nbytes)
if (!nbytes)
return NULL;
- p = mmap_page_aligned(nbytes);
+ p = mmap_pages(nbytes);
if (!p)
return NULL;
for (i = 0; i < NALLOC; i++) {