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: --- device/net_io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'device/net_io.c') diff --git a/device/net_io.c b/device/net_io.c index 72b040a0..338b433c 100644 --- a/device/net_io.c +++ b/device/net_io.c @@ -1437,7 +1437,7 @@ printf ("net_getstat: count: %d, addr_int_count: %d\n", io_return_t net_write( struct ifnet *ifp, - int (*start)(), + net_write_start_device_fn start, io_req_t ior) { spl_t s; -- cgit v1.2.3