diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-09-05 11:55:58 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-09-05 11:55:58 +0000 |
commit | 3551166d7b747c5efbd1659e453493f4e0e0e93b (patch) | |
tree | 03c44c6a2ee2837004d8028d281a62c34fdad50a /c/src/lib/libcpu/arm | |
parent | 2008-09-05 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-3551166d7b747c5efbd1659e453493f4e0e0e93b.tar.bz2 |
Convert to "bool".
Diffstat (limited to 'c/src/lib/libcpu/arm')
-rw-r--r-- | c/src/lib/libcpu/arm/at91rm9200/timer/timer.c | 6 | ||||
-rw-r--r-- | c/src/lib/libcpu/arm/lpc22xx/timer/timer.c | 6 | ||||
-rw-r--r-- | c/src/lib/libcpu/arm/mc9328mxl/timer/timer.c | 6 | ||||
-rw-r--r-- | c/src/lib/libcpu/arm/s3c2400/timer/timer.c | 6 | ||||
-rw-r--r-- | c/src/lib/libcpu/arm/s3c24xx/timer/timer.c | 6 |
5 files changed, 10 insertions, 20 deletions
diff --git a/c/src/lib/libcpu/arm/at91rm9200/timer/timer.c b/c/src/lib/libcpu/arm/at91rm9200/timer/timer.c index 35cf5cb6a8..7e407d82cf 100644 --- a/c/src/lib/libcpu/arm/at91rm9200/timer/timer.c +++ b/c/src/lib/libcpu/arm/at91rm9200/timer/timer.c @@ -28,7 +28,7 @@ #include <at91rm9200_pmc.h> uint16_t tstart; -rtems_boolean benchmark_timer_find_average_overhead; +bool benchmark_timer_find_average_overhead; uint32_t tick_time; /* * Set up TC0 - @@ -92,9 +92,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; } diff --git a/c/src/lib/libcpu/arm/lpc22xx/timer/timer.c b/c/src/lib/libcpu/arm/lpc22xx/timer/timer.c index ae63fb0d84..91f6df408b 100644 --- a/c/src/lib/libcpu/arm/lpc22xx/timer/timer.c +++ b/c/src/lib/libcpu/arm/lpc22xx/timer/timer.c @@ -29,7 +29,7 @@ uint32_t g_start; uint32_t g_freq; -rtems_boolean benchmark_timer_find_average_overhead; +bool benchmark_timer_find_average_overhead; /* @@ -65,9 +65,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; } diff --git a/c/src/lib/libcpu/arm/mc9328mxl/timer/timer.c b/c/src/lib/libcpu/arm/mc9328mxl/timer/timer.c index 6403e43a6e..f97ba13751 100644 --- a/c/src/lib/libcpu/arm/mc9328mxl/timer/timer.c +++ b/c/src/lib/libcpu/arm/mc9328mxl/timer/timer.c @@ -30,7 +30,7 @@ uint32_t g_start; uint32_t g_freq; -rtems_boolean benchmark_timer_find_average_overhead; +bool benchmark_timer_find_average_overhead; /* @@ -94,9 +94,7 @@ int benchmark_timer_read( void ) return (total - AVG_OVERHEAD); } -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; } diff --git a/c/src/lib/libcpu/arm/s3c2400/timer/timer.c b/c/src/lib/libcpu/arm/s3c2400/timer/timer.c index 99b908f9ff..aa9dd22077 100644 --- a/c/src/lib/libcpu/arm/s3c2400/timer/timer.c +++ b/c/src/lib/libcpu/arm/s3c2400/timer/timer.c @@ -27,7 +27,7 @@ uint32_t g_start; uint32_t g_freq; -rtems_boolean benchmark_timer_find_average_overhead; +bool benchmark_timer_find_average_overhead; /* @@ -101,9 +101,7 @@ int benchmark_timer_read( void ) return (total - AVG_OVERHEAD); } -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; } diff --git a/c/src/lib/libcpu/arm/s3c24xx/timer/timer.c b/c/src/lib/libcpu/arm/s3c24xx/timer/timer.c index 8839d98d6c..7c9fda8512 100644 --- a/c/src/lib/libcpu/arm/s3c24xx/timer/timer.c +++ b/c/src/lib/libcpu/arm/s3c24xx/timer/timer.c @@ -27,7 +27,7 @@ uint32_t g_start; uint32_t g_freq; -rtems_boolean benchmark_timer_find_average_overhead; +bool benchmark_timer_find_average_overhead; /* @@ -101,9 +101,7 @@ int benchmark_timer_read( void ) return (total - AVG_OVERHEAD); } -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; } |