aboutsummaryrefslogtreecommitdiff
path: root/kernel/drivers/keyboard.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/keyboard.c
parent26587adae4f5ec61d03fd7075805a24b29107fe3 (diff)
Applied even more warning flags!
Fixing all the warnings wasn't that easy actually..
Diffstat (limited to 'kernel/drivers/keyboard.c')
-rw-r--r--kernel/drivers/keyboard.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/drivers/keyboard.c b/kernel/drivers/keyboard.c
index f7f9d2d..3ae3c0e 100644
--- a/kernel/drivers/keyboard.c
+++ b/kernel/drivers/keyboard.c
@@ -18,8 +18,9 @@ static u32 dev_id = 0;
static int state = 0;
static int merged = 0;
-static void keyboard_handler()
+static void keyboard_handler(struct regs *r)
{
+ UNUSED(r);
int scancode = inb(0x60);
// TODO: Support more than two-byte scancodes