void parameter on functions of arity 0
This commit is contained in:
@@ -26,6 +26,6 @@ struct GDTR {
|
||||
uint64_t address;
|
||||
} __attribute__((packed));
|
||||
|
||||
void gdt_init();
|
||||
void gdt_init(void);
|
||||
|
||||
#endif
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user