void parameter on functions of arity 0

This commit is contained in:
2026-03-13 17:21:52 +01:00
parent 8026c33639
commit 5c0d02579b
13 changed files with 17 additions and 22 deletions

View File

@@ -26,6 +26,6 @@ struct GDTR {
uint64_t address;
} __attribute__((packed));
void gdt_init();
void gdt_init(void);
#endif

View File

@@ -23,10 +23,10 @@ struct heap_block_t {
struct heap_block_t* next;
} __attribute__((aligned(16)));
void kheap_init();
void kheap_init(void);
void* kmalloc(size_t size);
void kfree(void* ptr);
void* kalloc_stack();
void kheap_map_page();
void* kalloc_stack(void);
void kheap_map_page(void);
#endif

View File

@@ -12,6 +12,6 @@
void pmm_init(struct boot_context boot_ctx);
void pmm_free(uintptr_t addr);
uintptr_t pmm_alloc();
uintptr_t pmm_alloc(void);
#endif

View File

@@ -29,6 +29,6 @@ struct vm_object {
#define VM_FLAG_EXEC (1 << 1)
#define VM_FLAG_USER (1 << 2)
void vmm_init();
void vmm_init(void);
#endif