From 549984f6b3b5ec146edcb03d86e637eff9956bd2 Mon Sep 17 00:00:00 2001 From: Marin Ramesa Date: Thu, 19 Dec 2013 20:43:54 +0100 Subject: 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. --- kern/machine.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kern/machine.c') 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*/ -- cgit v1.2.3