summaryrefslogtreecommitdiff
path: root/kern/thread.c
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2013-03-16 00:22:41 +0100
committerRichard Braun <rbraun@sceen.net>2013-03-16 00:22:41 +0100
commit1dd39e24a84f9dc33f325ed7f7150ebc0eab50b7 (patch)
treeeb97d05ba0875b2fec79a00990ef5b736d3273b7 /kern/thread.c
parent74de3ad77b5db37431a807f9106db28fd97e5625 (diff)
kern/thread: make thread_schedule private
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;