summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/shared
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2008-09-05 08:08:39 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2008-09-05 08:08:39 +0000
commit14d7c5a7b57c0befa068d8fa1cf8f21fdbc45094 (patch)
treec4e1f230c4cd1f5c927c12beab86dce63bc9200b /c/src/lib/libbsp/shared
parent2008-09-05 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-14d7c5a7b57c0befa068d8fa1cf8f21fdbc45094.tar.bz2
Convert to "bool".
Diffstat (limited to 'c/src/lib/libbsp/shared')
-rw-r--r--c/src/lib/libbsp/shared/timerstub.c4
-rw-r--r--c/src/lib/libbsp/shared/tod.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/c/src/lib/libbsp/shared/timerstub.c b/c/src/lib/libbsp/shared/timerstub.c
index 563fcdb366..bd8909739d 100644
--- a/c/src/lib/libbsp/shared/timerstub.c
+++ b/c/src/lib/libbsp/shared/timerstub.c
@@ -11,7 +11,7 @@
#include <bsp.h>
-rtems_boolean benchmark_timer_find_average_overhead;
+bool benchmark_timer_find_average_overhead;
void benchmark_timer_initialize(void)
{
@@ -25,7 +25,7 @@ int benchmark_timer_read(void)
}
void benchmark_timer_disable_subtracting_average_overhead(
- rtems_boolean find_flag
+ bool find_flag
)
{
benchmark_timer_find_average_overhead = find_flag;
diff --git a/c/src/lib/libbsp/shared/tod.c b/c/src/lib/libbsp/shared/tod.c
index 20a3164376..bc9ec4a99d 100644
--- a/c/src/lib/libbsp/shared/tod.c
+++ b/c/src/lib/libbsp/shared/tod.c
@@ -188,7 +188,7 @@ void getRealTime(
*/
/* XXX this routine should be part of the public RTEMS interface */
-rtems_boolean _TOD_Validate( rtems_time_of_day *tod );
+extern bool _TOD_Validate( rtems_time_of_day *tod );
int setRealTime(
rtems_time_of_day *tod