aboutsummaryrefslogtreecommitdiff
path: root/kernel/drivers/interrupts.c
diff options
context:
space:
mode:
authorMarvin Borner2021-02-25 20:45:10 +0100
committerMarvin Borner2021-02-25 20:45:10 +0100
commita9710cb73cc9ecadaff241428a39a26935cb5c0a (patch)
tree68f509407bc49a4da43ccadfd9115b9e6f7eb413 /kernel/drivers/interrupts.c
parent26587adae4f5ec61d03fd7075805a24b29107fe3 (diff)
Applied even more warning flags!
Fixing all the warnings wasn't that easy actually..
Diffstat (limited to 'kernel/drivers/interrupts.c')
-rw-r--r--kernel/drivers/interrupts.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/drivers/interrupts.c b/kernel/drivers/interrupts.c
index d9d514c..268bff5 100644
--- a/kernel/drivers/interrupts.c
+++ b/kernel/drivers/interrupts.c
@@ -29,7 +29,7 @@ void idt_set_gate(u8 num, u32 base, u16 sel, u8 flags)
}
// Install IDT
-static void idt_install()
+static void idt_install(void)
{
// Set IDT pointer and limit
idt_ptr.limit = (sizeof(struct idt_entry) * 256) - 1;
@@ -60,7 +60,7 @@ void irq_uninstall_handler(int irq)
}
// Remap the IRQ table
-static void irq_remap()
+static void irq_remap(void)
{
outb(0x20, 0x11);
outb(0xA0, 0x11);