|
@@ -16,13 +16,13 @@
|
|
|
*/
|
|
|
|
|
|
|
|
|
- * @file freelist_debug.c
|
|
|
+ * @file freelist/debug.c
|
|
|
* @author Ioannis Koutras (joko@microlab.ntua.gr)
|
|
|
* @date September 2012
|
|
|
* @brief Debug functions implementation for freelist-organised raw blocks
|
|
|
*/
|
|
|
|
|
|
-#include "freelist/freelist_debug.h"
|
|
|
+#include "freelist/debug.h"
|
|
|
|
|
|
#include "dmmlib/freelist/block_header.h"
|
|
|
#include "freelist/block_header_funcs.h"
|
|
@@ -37,7 +37,7 @@ void get_memory_blocks(freelist_rb_t *raw_block) {
|
|
|
block_header_t *memory_block;
|
|
|
int counter;
|
|
|
|
|
|
- counter = 1;
|
|
|
+ counter = 0;
|
|
|
|
|
|
SLIST_FOREACH(memory_block, &raw_block->fl_head, pointers) {
|
|
|
counter++;
|