summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--memory.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/memory.h b/memory.h
index 1dc5021..38e632a 100644
--- a/memory.h
+++ b/memory.h
@@ -4,7 +4,7 @@
int aligned(void* p, int a);
int align_size(int s, int a);
-typedef struct {
+typedef struct Arena {
char* buf;
int size, ptr;
} Arena;
@@ -25,7 +25,7 @@ void* arena_alloc_aligned(
int align
);
-typedef struct {
+typedef struct Heap {
char* buf;
int size, blocks;
} Heap;