diff --git a/kernel/src/memory/Heap.cpp b/kernel/src/memory/Heap.cpp index 90fd79f0..aa9d219d 100644 --- a/kernel/src/memory/Heap.cpp +++ b/kernel/src/memory/Heap.cpp @@ -113,7 +113,7 @@ static Option split(HeapBlock* block, usize size) new_block->magic = BLOCK_MAGIC; new_block->status = (block->status & BLOCK_END_MEM) ? BLOCK_END_MEM : 0; new_block->full_size = old_size - (offset + sizeof(HeapBlock)); - heap.append_after(block, new_block); + heap.add_after(block, new_block); block->status &= ~BLOCK_END_MEM; // this block is no longer the last block in its memory range diff --git a/luna/include/luna/LinkedList.h b/luna/include/luna/LinkedList.h index 80c9b240..6f93d697 100644 --- a/luna/include/luna/LinkedList.h +++ b/luna/include/luna/LinkedList.h @@ -76,7 +76,7 @@ template class DoublyLinkedList m_count++; } - void append_after(T* base, T* ptr) + void add_after(T* base, T* ptr) { Node* const new_node = extract_node(ptr); Node* const base_node = extract_node(base);