diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-08-18 07:24:04 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-08-18 07:24:04 +0000 |
commit | fbc74c35ca48262b63451020394ce436ca2d3f57 (patch) | |
tree | 6c2957dabc8cd3f6e29ba761bb36c3cfe9422229 /c/src/lib/libbsp/mips/genmongoosev/timer | |
parent | Add missing prototypes. (diff) | |
download | rtems-fbc74c35ca48262b63451020394ce436ca2d3f57.tar.bz2 |
2008-08-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* timer/timer.c: Add missing prototypes.
Diffstat (limited to 'c/src/lib/libbsp/mips/genmongoosev/timer')
-rw-r--r-- | c/src/lib/libbsp/mips/genmongoosev/timer/timer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/mips/genmongoosev/timer/timer.c b/c/src/lib/libbsp/mips/genmongoosev/timer/timer.c index 110488e8b6..c104ec25da 100644 --- a/c/src/lib/libbsp/mips/genmongoosev/timer/timer.c +++ b/c/src/lib/libbsp/mips/genmongoosev/timer/timer.c @@ -25,7 +25,7 @@ rtems_boolean Timer_driver_Find_average_overhead; #define TIMER_VECTOR MONGOOSEV_IRQ_TIMER2 #endif -void Timer_initialize() +void Timer_initialize(void) { /* * Programming the compare register as the maximum value should let @@ -56,7 +56,7 @@ void Timer_initialize() /* mongoose-v can count cycles. :) */ #include <rtems/bspIo.h> -int Read_timer() +int Read_timer(void) { uint32_t clicks; uint32_t total; |