summaryrefslogtreecommitdiff
path: root/kern/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'kern/thread.c')
-rw-r--r--kern/thread.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/kern/thread.c b/kern/thread.c
index 0fb78637..f5dc33b2 100644
--- a/kern/thread.c
+++ b/kern/thread.c
@@ -200,6 +200,8 @@ static struct {
#define thread_ts_highest_round (thread_ts_highest_round_struct.value)
+static void thread_schedule(void);
+
static void __init
thread_runq_init_rt(struct thread_runq *runq)
{
@@ -1550,7 +1552,7 @@ thread_switch(struct thread *prev, struct thread *next)
tcb_switch(&prev->tcb, &next->tcb);
}
-void
+static void
thread_schedule(void)
{
struct thread_runq *runq;