aboutsummaryrefslogtreecommitdiff
path: root/kern
diff options
context:
space:
mode:
Diffstat (limited to 'kern')
-rw-r--r--kern/thread.c2
-rw-r--r--kern/thread_swap.c2
2 files changed, 2 insertions, 2 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)
{
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;