summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2008-09-05 12:00:59 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2008-09-05 12:00:59 +0000
commit63e23b6edb2b3adf48a5dac6256ef5f5b08abffe (patch)
treed5ed38bc1cd46722333e88e87b20873969e828aa /c/src/lib/libcpu
parent2008-09-05 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-63e23b6edb2b3adf48a5dac6256ef5f5b08abffe.tar.bz2
Convert to "bool".
Diffstat (limited to 'c/src/lib/libcpu')
-rw-r--r--c/src/lib/libcpu/mips/timer/timer.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/c/src/lib/libcpu/mips/timer/timer.c b/c/src/lib/libcpu/mips/timer/timer.c
index 86b45ce9cb..cd5906ce59 100644
--- a/c/src/lib/libcpu/mips/timer/timer.c
+++ b/c/src/lib/libcpu/mips/timer/timer.c
@@ -52,7 +52,7 @@
extern uint32_t mips_read_timer( void );
-static rtems_boolean benchmark_timer_find_average_overhead;
+static bool benchmark_timer_find_average_overhead;
static uint32_t Timer_initial_value = 0;
void benchmark_timer_initialize( void )
@@ -119,9 +119,7 @@ int benchmark_timer_read( void )
}
}
-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;
}