summaryrefslogtreecommitdiff
path: root/allocator.c
diff options
context:
space:
mode:
Diffstat (limited to 'allocator.c')
-rw-r--r--allocator.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/allocator.c b/allocator.c
index 2b6b0b3..6add3cf 100644
--- a/allocator.c
+++ b/allocator.c
@@ -1,21 +1,3 @@
-typedef struct Page {
- struct Page *next;
- size_t used;
- max_align_t data[];
-} Page;
-
-typedef struct DynPage {
- struct DynPage **self;
- max_align_t data[];
-} DynPage;
-
-typedef struct {
- Page *first;
- Page *last;
- DynPage **dyn;
- size_t dyn_len;
- size_t dyn_cap;
-} Allocator;
/* number of bytes a page hold, not including the header */
#define PAGE_SIZE (16384 - sizeof(Page))