summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/powerpc/mpc505/timer/timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libcpu/powerpc/mpc505/timer/timer.c')
-rw-r--r--c/src/lib/libcpu/powerpc/mpc505/timer/timer.c6
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;
}