summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/powerpc/ppc403/timer/timer.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2008-09-05 12:11:47 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2008-09-05 12:11:47 +0000
commit3942ccef5616448fa3aea482b41dc96db6993945 (patch)
treeee2eccedd850b45dad0b58ec72b47de78f4f46e9 /c/src/lib/libcpu/powerpc/ppc403/timer/timer.c
parent2008-09-05 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-3942ccef5616448fa3aea482b41dc96db6993945.tar.bz2
Convert to "bool".
Diffstat (limited to '')
-rw-r--r--c/src/lib/libcpu/powerpc/ppc403/timer/timer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/lib/libcpu/powerpc/ppc403/timer/timer.c b/c/src/lib/libcpu/powerpc/ppc403/timer/timer.c
index 1ac158ea5b..4280673109 100644
--- a/c/src/lib/libcpu/powerpc/ppc403/timer/timer.c
+++ b/c/src/lib/libcpu/powerpc/ppc403/timer/timer.c
@@ -45,7 +45,7 @@ extern uint32_t bsp_timer_least_valid;
extern uint32_t bsp_timer_average_overhead;
static volatile uint32_t startedAt;
-static rtems_boolean subtractOverhead;
+static bool subtractOverhead;
void benchmark_timer_initialize(void)
{
@@ -67,7 +67,7 @@ int benchmark_timer_read(void)
return (total - bsp_timer_average_overhead);
}
-void benchmark_timer_disable_subtracting_average_overhead( rtems_boolean find_flag)
+void benchmark_timer_disable_subtracting_average_overhead(bool find_flag)
{
subtractOverhead = find_flag;
}