From 16e5483d9e23593cb1e7f348301a63c6cdfdfe86 Mon Sep 17 00:00:00 2001 From: Marin Ramesa Date: Sat, 23 Nov 2013 15:29:28 +0100 Subject: kern: move forward declaration into a header file * kern/timer.c (timer_init): Remove forward declaration. * kern/timer.h (timer_init): Add prototype. --- kern/timer.c | 2 -- kern/timer.h | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'kern') diff --git a/kern/timer.c b/kern/timer.c index d16329a..0c73c69 100644 --- a/kern/timer.c +++ b/kern/timer.c @@ -40,8 +40,6 @@ timer_t current_timer[NCPUS]; timer_data_t kernel_timer[NCPUS]; -void timer_init(); /* forward */ - /* * init_timers initializes all non-thread timers and puts the * service routine on the callout queue. All timers must be diff --git a/kern/timer.h b/kern/timer.h index f5095b5..76a4117 100644 --- a/kern/timer.h +++ b/kern/timer.h @@ -184,4 +184,6 @@ extern void init_timers(void); void softclock(void); +void timer_init(timer_t this_timer); + #endif /* _KERN_TIMER_H_ */ -- cgit v1.2.3