summaryrefslogtreecommitdiff
path: root/kern/machine.c
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-12-19 20:43:54 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-12-20 00:26:27 +0100
commit549984f6b3b5ec146edcb03d86e637eff9956bd2 (patch)
tree5c082377d5f22bafbaae71408062ba2aaef18c5d /kern/machine.c
parentf533e173fccb40aac5c3e7f4f2277f3cdec5d029 (diff)
Declare void argument lists (part 2)
Declare void argument lists that were not declared in the first part of this patch and * kern/sched_prim.h (recompute_priorities): Fix prototype. * kern/startup.c (setup_main) (recompute_priorities): Fix call.
Diffstat (limited to 'kern/machine.c')
-rw-r--r--kern/machine.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kern/machine.c b/kern/machine.c
index d5944ce..52133cb 100644
--- a/kern/machine.c
+++ b/kern/machine.c
@@ -361,7 +361,7 @@ processor_t processor;
/*
* action_thread() shuts down processors or changes their assignment.
*/
-void action_thread_continue()
+void action_thread_continue(void)
{
processor_t processor;
spl_t s;
@@ -390,7 +390,7 @@ void action_thread_continue()
}
}
-void __attribute__((noreturn)) action_thread()
+void __attribute__((noreturn)) action_thread(void)
{
action_thread_continue();
/*NOTREACHED*/