summaryrefslogtreecommitdiffstats
path: root/src/alloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/alloc.h')
-rw-r--r--src/alloc.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/alloc.h b/src/alloc.h
index c4badc4..af8b391 100644
--- a/src/alloc.h
+++ b/src/alloc.h
@@ -241,12 +241,10 @@ void *reserve(void *ptr, size_t align, size_t size, size_t count);
* Arena allocators are intentionally not thread safe.
*/
struct arena {
- /** The list of free chunks. */
- void *chunks;
/** The number of allocated slabs. */
size_t nslabs;
/** The array of slabs. */
- void **slabs;
+ struct slab **slabs;
/** Chunk alignment. */
size_t align;
/** Chunk size. */