|
@@ -40,7 +40,7 @@
|
|
|
|
|
|
#if defined (ADDRESS_ORDERED)
|
|
|
#include "freelist/ordering/address.h"
|
|
|
-#define ADD_BLOCK(block) add_to_address_ordered(raw_block, block)
|
|
|
+#define ADD_BLOCK(block) add_to_address_ordered(&raw_block->fl_head, block)
|
|
|
|
|
|
#elif defined (FIFO_ORDERED)
|
|
|
#include "freelist/ordering/fifo.h"
|
|
@@ -52,7 +52,7 @@
|
|
|
|
|
|
#elif defined (SIZE_ORDERED)
|
|
|
#include "freelist/ordering/size.h"
|
|
|
-#define ADD_BLOCK(block) add_to_size_ordered(raw_block, block)
|
|
|
+#define ADD_BLOCK(block) add_to_size_ordered(&raw_block->fl_head, block)
|
|
|
|
|
|
#endif /* ADDRESS_ORDERED */
|
|
|
|