From 9e83bf8c3656b736ba3a14d9b7b8af61b48415f4 Mon Sep 17 00:00:00 2001 From: Nicholas Noll Date: Thu, 30 Apr 2020 11:54:19 -0700 Subject: chore: move from new to make prefix of constructors --- sys/libn/memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/libn/memory.c') 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; -- cgit v1.2.1