From e7131e441628bf173eabd64d5498eebcdd533b69 Mon Sep 17 00:00:00 2001 From: Marin Ramesa Date: Fri, 29 Nov 2013 22:54:03 +0100 Subject: kern/sched_prim.c: remove forward declarations * kern/sched_prim.c (set_pri, do_thread_scan, choose_pset_thread, checkrq, thread_check): Remove forward declarations. * kern/sched_prim.h (set_pri, do_thread_scan, choose_pset_thread, checkrq, thread_check): Add prototypes. --- kern/sched_prim.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'kern/sched_prim.h') diff --git a/kern/sched_prim.h b/kern/sched_prim.h index e08f570..b7ecba7 100644 --- a/kern/sched_prim.h +++ b/kern/sched_prim.h @@ -172,4 +172,13 @@ extern void stack_free( #define convert_ipc_timeout_to_ticks(millis) \ (((millis) * hz + 999) / 1000) +void set_pri(thread_t th, int pri, boolean_t resched); +void do_thread_scan(void); +thread_t choose_pset_thread(processor_t myprocessor, processor_set_t pset); + +#if DEBUG +void checkrq(run_queue_t rq, char *msg); +void thread_check(thread_t th, run_queue_t rq); +#endif /* DEBUG */ + #endif /* _KERN_SCHED_PRIM_H_ */ -- cgit v1.2.3