From c17cb87cc97f817f9705ef932fe2da6d23a1d01a Mon Sep 17 00:00:00 2001 From: Flavio Cruz Date: Wed, 18 Jan 2023 02:07:17 +0100 Subject: Add static qualifiers stack_statistics, swapin_thread_continue, and memory_object_lock_page are not used outside their module. --- kern/thread_swap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kern/thread_swap.c') diff --git a/kern/thread_swap.c b/kern/thread_swap.c index 20ad0409..ecfe48e4 100644 --- a/kern/thread_swap.c +++ b/kern/thread_swap.c @@ -156,7 +156,7 @@ kern_return_t thread_doswapin(thread_t thread) * This procedure executes as a kernel thread. Threads that need to * be swapped in are swapped in by this thread. */ -void __attribute__((noreturn)) swapin_thread_continue(void) +static void __attribute__((noreturn)) swapin_thread_continue(void) { for (;;) { thread_t thread; -- cgit v1.2.3