1

remove <cstddef> and NULLs (use nullptr)

This commit is contained in:
2022-07-24 00:40:51 +02:00
parent e4469e51b2
commit d9b86355c7
10 changed files with 41 additions and 54 deletions

View File

@ -10,8 +10,6 @@
*****************************************************************************/
#include "kernel/Globals.h"
#include <stddef.h>
// #include "kernel/allocator/LinkedListAllocator.h"
/*****************************************************************************
* Methode: BumpAllocator::init *
@ -55,7 +53,7 @@ void* BumpAllocator::alloc(unsigned int req_size) {
if (req_size + (unsigned int)this->next > this->heap_end) {
log.error() << " - More memory requested than available :(" << endl;
return NULL;
return nullptr;
}
void* allocated = this->next;