diff options
Diffstat (limited to 'lib/libc-jove/stdlib/heap.h')
-rw-r--r-- | lib/libc-jove/stdlib/heap.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/lib/libc-jove/stdlib/heap.h b/lib/libc-jove/stdlib/heap.h deleted file mode 100644 index 9628444..0000000 --- a/lib/libc-jove/stdlib/heap.h +++ /dev/null @@ -1,19 +0,0 @@ -#ifndef _LIBC_JOVE_HEAP_H -#define _LIBC_JOVE_HEAP_H 1 - -#include <stdint.h> -#include <stddef.h> - -#define LIBC_HEAP_INIT_SIZE (0x1000) -#define LIBC_HEAP_MINALLOC (0x10) -#define LIBC_HEAP_MINSPLIT (sizeof(heap_bin_t) + sizeof(uintptr_t) + LIBC_HEAP_MINALLOC) - -typedef struct heap_bin { - struct heap_bin *next; - size_t size_taken; - char data[]; -} heap_bin_t; - -void __libc_heap_init(uintptr_t program_end); - -#endif |