Move FreeListBlock internal into source

This commit is contained in:
Imbus 2025-09-08 08:48:34 +02:00
parent 682901cafd
commit de6aee3a3a
2 changed files with 9 additions and 7 deletions

View file

@ -6,6 +6,10 @@
#include <stdlib.h>
#include <string.h>
struct FreeListBlock {
struct FreeListBlock *next;
};
/* Initialize the FreeList */
int fl_init(FreeList *fl, uintptr_t start, uintptr_t end, size_t itemsize) {
size_t size = ALIGN(itemsize);