summaryrefslogtreecommitdiff
path: root/kern/sched_prim.h
diff options
context:
space:
mode:
Diffstat (limited to 'kern/sched_prim.h')
-rw-r--r--kern/sched_prim.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/kern/sched_prim.h b/kern/sched_prim.h
index bb1865cd..dfb2f54b 100644
--- a/kern/sched_prim.h
+++ b/kern/sched_prim.h
@@ -176,7 +176,9 @@ 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);
+#include <kern/sched.h> /* for run_queue_t */
+
+void checkrq(run_queue_t rq, const char *msg);
void thread_check(thread_t th, run_queue_t rq);
#endif /* DEBUG */