summaryrefslogtreecommitdiff
path: root/kern/thread.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.c
parent67776029423f364c6d9fce4f6c0e80a045a46218 (diff)
Add static qualifiers
stack_statistics, swapin_thread_continue, and memory_object_lock_page are not used outside their module.
Diffstat (limited to 'kern/thread.c')
-rw-r--r--kern/thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kern/thread.c b/kern/thread.c
index 06825bff..db290f7e 100644
--- a/kern/thread.c
+++ b/kern/thread.c
@@ -2403,7 +2403,7 @@ void stack_finalize(
* *maxusagep must be initialized by the caller.
*/
-void stack_statistics(
+static void stack_statistics(
natural_t *totalp,
vm_size_t *maxusagep)
{