summaryrefslogtreecommitdiff
path: root/kern
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2014-09-30 09:08:55 +0200
committerJustus Winter <4winter@informatik.uni-hamburg.de>2014-09-30 09:15:08 +0200
commitdfcdc049242c9ceb75fe82c16a20149244d8abd6 (patch)
treeef4fa982691ef1f2b2fdd9ddb644b612302418bb /kern
parentdd2b22a787420e4b9d74e2778961b14f59293c91 (diff)
kern: fix type of recompute_priorities
* kern/sched_prim.c (recompute_priorities): Fix type. * kern/sched_prim.h (recompute_priorities): Likewise.
Diffstat (limited to 'kern')
-rw-r--r--kern/sched_prim.c2
-rw-r--r--kern/sched_prim.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/kern/sched_prim.c b/kern/sched_prim.c
index 1d2e14e5..66eb9c95 100644
--- a/kern/sched_prim.c
+++ b/kern/sched_prim.c
@@ -1076,7 +1076,7 @@ void compute_my_priority(
*
* Update the priorities of all threads periodically.
*/
-void recompute_priorities(const void *param)
+void recompute_priorities(void *param)
{
#if SIMPLE_CLOCK
int new_usec;
diff --git a/kern/sched_prim.h b/kern/sched_prim.h
index 8c62b8b1..fd989b6c 100644
--- a/kern/sched_prim.h
+++ b/kern/sched_prim.h
@@ -103,7 +103,7 @@ extern boolean_t thread_handoff(
thread_t old_thread,
continuation_t continuation,
thread_t new_thread);
-extern void recompute_priorities(const void *param);
+extern void recompute_priorities(void *param);
extern void update_priority(
thread_t thread);
extern void compute_my_priority(