summaryrefslogtreecommitdiffstats
path: root/testsuites/tmtests
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-11-01 03:44:24 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-11-01 03:44:24 +0000
commit256d779816a26e75e625644aaeb414d01ccc0981 (patch)
tree15c98b192ea0b22f8ffa131452295e81ba398074 /testsuites/tmtests
parentmoved timebase/decrementer access from cpukit to libcpu (diff)
downloadrtems-256d779816a26e75e625644aaeb414d01ccc0981.tar.bz2
Make time_set a "bool".
Eliminate TRUE/FALSE.
Diffstat (limited to 'testsuites/tmtests')
-rw-r--r--testsuites/tmtests/tm15/task1.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/testsuites/tmtests/tm15/task1.c b/testsuites/tmtests/tm15/task1.c
index 5f9ddbcdd1..2877ecfc7e 100644
--- a/testsuites/tmtests/tm15/task1.c
+++ b/testsuites/tmtests/tm15/task1.c
@@ -12,7 +12,8 @@
#define CONFIGURE_INIT
#include "system.h"
-uint32_t time_set, eventout;
+bool time_set;
+uint32_t eventout;
rtems_task High_tasks(
rtems_task_argument argument
@@ -47,7 +48,7 @@ void test_init(void)
rtems_event_set event_out;
rtems_status_code status;
- time_set = FALSE;
+ time_set = false;
status = rtems_task_create(
rtems_build_name( 'L', 'O', 'W', ' ' ),
@@ -208,7 +209,7 @@ rtems_task High_tasks(
&eventout
);
else {
- time_set = 1;
+ time_set = true;
benchmark_timer_initialize(); /* start blocking rtems_event_receive time */
status = rtems_event_receive(
RTEMS_EVENT_16,