diff options
Diffstat (limited to 'include/heap.h')
-rw-r--r-- | include/heap.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/heap.h b/include/heap.h index 593ce09..343e983 100644 --- a/include/heap.h +++ b/include/heap.h @@ -23,6 +23,11 @@ #include <stdint.h> +typedef struct { + uint32_t size; + void *next; +} __attribute__ ((packed)) alloc_t; + /** * Initializes memory management of the given heap. * No overflow stuff is done, so... |