From a9710cb73cc9ecadaff241428a39a26935cb5c0a Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Thu, 25 Feb 2021 20:45:10 +0100 Subject: Applied even more warning flags! Fixing all the warnings wasn't that easy actually.. --- kernel/drivers/mouse.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'kernel/drivers/mouse.c') diff --git a/kernel/drivers/mouse.c b/kernel/drivers/mouse.c index ce9d15c..40094d1 100644 --- a/kernel/drivers/mouse.c +++ b/kernel/drivers/mouse.c @@ -19,8 +19,9 @@ static u32 dev_id = 0; static struct event_mouse *event = NULL; -static void mouse_handler() +static void mouse_handler(struct regs *r) { + UNUSED(r); switch (mouse_cycle) { case 0: mouse_byte[0] = (char)inb(0x60); -- cgit v1.2.3