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: --- ipc/ipc_mqueue.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ipc/ipc_mqueue.h') diff --git a/ipc/ipc_mqueue.h b/ipc/ipc_mqueue.h index efca6817..dfac7456 100644 --- a/ipc/ipc_mqueue.h +++ b/ipc/ipc_mqueue.h @@ -75,7 +75,7 @@ ipc_mqueue_copyin(ipc_space_t, mach_port_name_t, ipc_mqueue_t *, ipc_object_t *) extern mach_msg_return_t ipc_mqueue_receive(ipc_mqueue_t, mach_msg_option_t, mach_msg_size_t, mach_msg_timeout_t, - boolean_t, void (*)(), + boolean_t, continuation_t, ipc_kmsg_t *, mach_port_seqno_t *); /* -- cgit v1.2.3