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/com.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'i386/i386at/com.c') diff --git a/i386/i386at/com.c b/i386/i386at/com.c index 8bd80206..c63c30a4 100644 --- a/i386/i386at/com.c +++ b/i386/i386at/com.c @@ -49,7 +49,7 @@ #include -static void comparam(); +static void comparam(int); static vm_offset_t com_std[NCOM] = { 0 }; struct bus_device *cominfo[NCOM]; -- cgit v1.2.3