diff options
Diffstat (limited to 'src/kernel/mem/alloc.h')
-rw-r--r-- | src/kernel/mem/alloc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/mem/alloc.h b/src/kernel/mem/alloc.h index 0760d67..99fd931 100644 --- a/src/kernel/mem/alloc.h +++ b/src/kernel/mem/alloc.h @@ -12,6 +12,6 @@ void *page_alloc(size_t pages); // frees `pages` consecutive pages starting from *first void page_free(void *first, size_t pages); -void kmalloc_sanity(void *addr); +void kmalloc_sanity(const void *addr); void *kmalloc(size_t len); void kfree(void *ptr); |