diff options
author | Marin Ramesa <mpr@hi.t-com.hr> | 2013-11-23 15:29:27 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-11-24 22:54:26 +0100 |
commit | 8a0a0b374ce862fb784b5b56c2b9f8f4006242fd (patch) | |
tree | 8732d22f87494cb3bb110aeb3b290e4fd3dfd008 /kern | |
parent | 8c2e432aabda338af98d3fc6dbb21156108c58ae (diff) |
kern: move forward declaration into a header file
* kern/mach_clock.c (softclock): Remove forward declaration.
* kern/timer.h (softclock): Add prototype.
Diffstat (limited to 'kern')
-rw-r--r-- | kern/mach_clock.c | 2 | ||||
-rw-r--r-- | kern/timer.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/kern/mach_clock.c b/kern/mach_clock.c index cfc94a3..844e7b3 100644 --- a/kern/mach_clock.c +++ b/kern/mach_clock.c @@ -64,8 +64,6 @@ #include <kern/pc_sample.h> #endif -void softclock(); /* forward */ - int hz = HZ; /* number of ticks per second */ int tick = (1000000 / HZ); /* number of usec per tick */ time_value_t time = { 0, 0 }; /* time since bootup (uncorrected) */ diff --git a/kern/timer.h b/kern/timer.h index f2154dd..f5095b5 100644 --- a/kern/timer.h +++ b/kern/timer.h @@ -182,4 +182,6 @@ MACRO_END extern void init_timers(void); +void softclock(void); + #endif /* _KERN_TIMER_H_ */ |