From f7a65556ad6c395d5001bbc1a27b334715b40a85 Mon Sep 17 00:00:00 2001 From: Marin Ramesa Date: Fri, 29 Nov 2013 22:54:02 +0100 Subject: 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. --- kern/processor.c | 7 ------- kern/processor.h | 4 +++- 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 @@ -65,13 +65,6 @@ decl_simple_lock_data(, all_psets_lock); 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. */ 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_ */ -- cgit v1.2.3