From 448889a4f0c32ba8ea61f870d4edcb0e0d58af85 Mon Sep 17 00:00:00 2001 From: Flavio Cruz Date: Tue, 20 Dec 2022 20:01:02 -0500 Subject: Use -Wstrict-prototypes and fix warnings Most of the changes include defining and using proper function type declarations (with argument types declared) and avoiding using the K&R style of function declarations. Message-Id: --- i386/i386at/kd_mouse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'i386/i386at/kd_mouse.c') diff --git a/i386/i386at/kd_mouse.c b/i386/i386at/kd_mouse.c index 7dd1c272..3af21273 100644 --- a/i386/i386at/kd_mouse.c +++ b/i386/i386at/kd_mouse.c @@ -82,7 +82,7 @@ WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. #include "kd_mouse.h" -static void (*oldvect)(); /* old interrupt vector */ +static interrupt_handler_fn oldvect; /* old interrupt vector */ static int oldunit; extern struct bus_device *cominfo[]; -- cgit v1.2.3