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/syscall_emulation.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kern/syscall_emulation.c') diff --git a/kern/syscall_emulation.c b/kern/syscall_emulation.c index 95e91d55..5a477006 100644 --- a/kern/syscall_emulation.c +++ b/kern/syscall_emulation.c @@ -116,7 +116,7 @@ void eml_task_deallocate(task) * task_set_emulation_vector: [Server Entry] * set a list of emulated system calls for this task. */ -kern_return_t +static kern_return_t task_set_emulation_vector_internal( task_t task, int vector_start, -- cgit v1.2.3