summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/nios2/nios2_iss/timer/timer.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2008-09-05 11:40:32 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2008-09-05 11:40:32 +0000
commitfcd74835fed679c5da34240ad23b0ba4f965fa3a (patch)
tree4417b81eb2ee0ef2cee28a59d8062458259a93ca /c/src/lib/libbsp/nios2/nios2_iss/timer/timer.c
parent2008-09-05 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-fcd74835fed679c5da34240ad23b0ba4f965fa3a.tar.bz2
Convert to "bool".
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/nios2/nios2_iss/timer/timer.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/c/src/lib/libbsp/nios2/nios2_iss/timer/timer.c b/c/src/lib/libbsp/nios2/nios2_iss/timer/timer.c
index d51c606e5a..9ffd27d047 100644
--- a/c/src/lib/libbsp/nios2/nios2_iss/timer/timer.c
+++ b/c/src/lib/libbsp/nios2/nios2_iss/timer/timer.c
@@ -27,7 +27,7 @@
#include <bsp.h>
volatile uint32_t Timer_interrupts;
-rtems_boolean benchmark_timer_find_average_overhead;
+bool benchmark_timer_find_average_overhead;
#define TIMER_REGS ((altera_avalon_timer_regs*)NIOS2_IO_BASE(TIMER_BASE))
@@ -133,9 +133,7 @@ int benchmark_timer_read( void )
return total;
}
-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;
}