diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-09-05 12:11:47 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-09-05 12:11:47 +0000 |
commit | 3942ccef5616448fa3aea482b41dc96db6993945 (patch) | |
tree | ee2eccedd850b45dad0b58ec72b47de78f4f46e9 /c/src/lib/libcpu/powerpc/mpc505 | |
parent | 2008-09-05 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-3942ccef5616448fa3aea482b41dc96db6993945.tar.bz2 |
Convert to "bool".
Diffstat (limited to 'c/src/lib/libcpu/powerpc/mpc505')
-rw-r--r-- | c/src/lib/libcpu/powerpc/mpc505/timer/timer.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/c/src/lib/libcpu/powerpc/mpc505/timer/timer.c b/c/src/lib/libcpu/powerpc/mpc505/timer/timer.c index 4bee060364..edbaded21d 100644 --- a/c/src/lib/libcpu/powerpc/mpc505/timer/timer.c +++ b/c/src/lib/libcpu/powerpc/mpc505/timer/timer.c @@ -16,7 +16,7 @@ #include <rtems.h> -rtems_boolean benchmark_timer_find_average_overhead; +bool benchmark_timer_find_average_overhead; static unsigned int volatile lastInitValue; @@ -47,9 +47,7 @@ int benchmark_timer_read( void ) return value - lastInitValue; } -void benchmark_timer_disable_subtracting_average_overhead( - rtems_boolean find_flag -) +void benchmark_timer_disable_subtracting_average_overhead(bool find_flag) { benchmark_timer_find_average_overhead = find_flag; } |