aboutsummaryrefslogtreecommitdiff
path: root/sys/libn/memory.c
diff options
context:
space:
mode:
authorNicholas Noll <nbnoll@eml.cc>2020-04-30 11:54:19 -0700
committerNicholas Noll <nbnoll@eml.cc>2020-04-30 11:54:19 -0700
commit9e83bf8c3656b736ba3a14d9b7b8af61b48415f4 (patch)
tree4417ac3eafdd744d7a944a6da6bf630844ef5f90 /sys/libn/memory.c
parent86134ccf82dcafe338e68c14e483ec98cfc94925 (diff)
chore: move from new to make prefix of constructors
Diffstat (limited to 'sys/libn/memory.c')
-rw-r--r--sys/libn/memory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/libn/memory.c b/sys/libn/memory.c
index 7a0ca30..4cf92b2 100644
--- a/sys/libn/memory.c
+++ b/sys/libn/memory.c
@@ -77,7 +77,7 @@ struct mem·Arena
};
mem·Arena*
-mem·newarena(mem·Allocator from, void *impl)
+mem·makearena(mem·Allocator from, void *impl)
{
mem·Arena *a = from.alloc(impl, 1, sizeof(*a) + ARENA_BLOCK_SIZE);
a->impl = impl;