diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/rune/core/alloc.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/rune/core/alloc.h b/include/rune/core/alloc.h index 65121ce..b2ccca0 100644 --- a/include/rune/core/alloc.h +++ b/include/rune/core/alloc.h @@ -28,12 +28,12 @@ /** * Memory block used for memory accounting */ -struct mem_block { +typedef struct mem_block { void *ptr; size_t sz; int free; - struct list_head list; -}; + list_head_t list; +} mem_block_t; /** * \brief Custom malloc implementation |