From a40ba17874eb44c206218223df338a3d9f8704f9 Mon Sep 17 00:00:00 2001 From: Marin Ramesa Date: Sat, 23 Nov 2013 15:29:30 +0100 Subject: kern: move forward declarations into a header file * kern/machine.c (processor_doaction, processor_doshutdown): Remove forward declarations. * kern/processor.h (processor_doaction, processor_doshutdown): Add prototypes. --- kern/machine.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'kern/machine.c') diff --git a/kern/machine.c b/kern/machine.c index f69e728..3dadeb5 100644 --- a/kern/machine.c +++ b/kern/machine.c @@ -361,8 +361,6 @@ processor_t processor; /* * action_thread() shuts down processors or changes their assignment. */ -void processor_doaction(); /* forward */ - void action_thread_continue() { processor_t processor; @@ -403,11 +401,6 @@ void action_thread() * is to schedule ourselves onto a cpu and then save our * context back into the runqs before taking out the cpu. */ -#ifdef __GNUC__ -__volatile__ -#endif -void processor_doshutdown(); /* forward */ - void processor_doaction(processor) processor_t processor; { -- cgit v1.2.3