From 84e0fb3f287864eca3a9322ef364b913f6a260bd Mon Sep 17 00:00:00 2001 From: Flavio Cruz Date: Sun, 25 Dec 2022 20:41:46 -0500 Subject: Fix some warnings with -Wmissing-prototypes. Marked some functions as static (private) as needed and added missing includes. This also revealed some dead code which was removed. Note that -Wmissing-prototypes is not enabled here since there is a bunch more warnings. Message-Id: --- kern/processor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kern/processor.c') diff --git a/kern/processor.c b/kern/processor.c index ec56952e..75d2ff53 100644 --- a/kern/processor.c +++ b/kern/processor.c @@ -845,7 +845,7 @@ processor_set_policy_disable( * * Common internals for processor_set_{threads,tasks} */ -kern_return_t +static kern_return_t processor_set_things( processor_set_t pset, mach_port_t **thing_list, -- cgit v1.2.3