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: --- include/mach/mig_errors.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/mach/mig_errors.h') diff --git a/include/mach/mig_errors.h b/include/mach/mig_errors.h index 5758ccf3..389ce778 100644 --- a/include/mach/mig_errors.h +++ b/include/mach/mig_errors.h @@ -68,7 +68,7 @@ typedef struct mig_symtab { #else int #endif - (*ms_routine)(); + (*ms_routine)(void); } mig_symtab_t; /* -- cgit v1.2.3