aboutsummaryrefslogtreecommitdiff
path: root/kern/thread_swap.c
diff options
context:
space:
mode:
authorFlavio Cruz <flaviocruz@gmail.com>2023-01-18 02:07:17 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-01-18 02:07:56 +0100
commitc17cb87cc97f817f9705ef932fe2da6d23a1d01a (patch)
tree0be51c8076f44ab0e9dc513b6a5b1bb53620039e /kern/thread_swap.c
parent67776029423f364c6d9fce4f6c0e80a045a46218 (diff)
downloadgnumach-c17cb87cc97f817f9705ef932fe2da6d23a1d01a.tar.gz
gnumach-c17cb87cc97f817f9705ef932fe2da6d23a1d01a.tar.bz2
gnumach-c17cb87cc97f817f9705ef932fe2da6d23a1d01a.zip
Add static qualifiers
stack_statistics, swapin_thread_continue, and memory_object_lock_page are not used outside their module.
Diffstat (limited to 'kern/thread_swap.c')
-rw-r--r--kern/thread_swap.c2
1 files changed, 1 insertions, 1 deletions
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;