aboutsummaryrefslogtreecommitdiff
path: root/sys/libn/memory.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/libn/memory.c')
-rw-r--r--sys/libn/memory.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/libn/memory.c b/sys/libn/memory.c
index 999819b..d7df8e3 100644
--- a/sys/libn/memory.c
+++ b/sys/libn/memory.c
@@ -25,7 +25,7 @@ void *
return realloc(ptr, n*size);
}
-mem·Allocator mem·sys = {
+mem·Allocator sys·Memory = {
.alloc = ·alloc,
.free = ·free
};
@@ -120,6 +120,7 @@ mem·makearena(mem·Allocator from, void *impl)
return a;
}
+static
void
grow(mem·Arena *a, vlong min)
{