summaryrefslogtreecommitdiff
path: root/kern
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-11-29 22:54:02 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-12-05 06:37:12 +0900
commitf7a65556ad6c395d5001bbc1a27b334715b40a85 (patch)
treedbffddd032c1228687e1a46afe1d719378e77bcd /kern
parentc1429f486d0c8af477fd01e76e08090e91ffc9bc (diff)
kern/processor.c: remove forward declarations
* kern/processor.c (quantum_set, pset_init, processor_init): Remove forward declarations. * kern/processor.h (quantum_set, pset_init, processor_init): Add prototypes.
Diffstat (limited to 'kern')
-rw-r--r--kern/processor.c7
-rw-r--r--kern/processor.h4
2 files changed, 3 insertions, 8 deletions
diff --git a/kern/processor.c b/kern/processor.c
index 0cb9974..865c324 100644
--- a/kern/processor.c
+++ b/kern/processor.c
@@ -66,13 +66,6 @@ processor_t master_processor;
processor_t processor_ptr[NCPUS];
/*
- * Forward declarations.
- */
-void quantum_set(processor_set_t);
-void pset_init(processor_set_t);
-void processor_init(processor_t, int);
-
-/*
* Bootstrap the processor/pset system so the scheduler can run.
*/
void pset_sys_bootstrap(void)
diff --git a/kern/processor.h b/kern/processor.h
index 7bd29cf..b81526c 100644
--- a/kern/processor.h
+++ b/kern/processor.h
@@ -321,7 +321,9 @@ extern kern_return_t processor_set_threads(
#endif
void processor_doaction(processor_t processor);
-
void processor_doshutdown(processor_t processor);
+void quantum_set(processor_set_t pset);
+void pset_init(processor_set_t pset);
+void processor_init(processor_t pr, int slot_num);
#endif /* _KERN_PROCESSOR_H_ */