From f0157b8fd85d5ce211b0aae48b53d9d88b59cd68 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Sat, 6 Sep 2008 03:39:58 +0000 Subject: Convert to "bool". --- testsuites/sptests/sp35/priinv.c | 2 +- testsuites/sptests/sp37/init.c | 10 +++++----- testsuites/sptests/sp38/init.c | 4 ++-- testsuites/sptests/sp39/init.c | 2 +- testsuites/sptests/sp41/init.c | 2 +- testsuites/sptests/sp42/init.c | 2 +- testsuites/sptests/sp43/init.c | 2 +- testsuites/sptests/spfatal/fatal.c | 2 +- testsuites/sptests/spfatal/system.h | 2 +- testsuites/sptests/spfatal_support/init.c | 2 +- testsuites/sptests/spfatal_support/system.h | 2 +- 11 files changed, 16 insertions(+), 16 deletions(-) (limited to 'testsuites/sptests') diff --git a/testsuites/sptests/sp35/priinv.c b/testsuites/sptests/sp35/priinv.c index 0f1ef6fc3d..ec677c33e0 100644 --- a/testsuites/sptests/sp35/priinv.c +++ b/testsuites/sptests/sp35/priinv.c @@ -112,7 +112,7 @@ rtems_id RemoteHwAccess_R; /* Execlusive access to the remote HW */ /* The following variable triggers simulated HW activity */ -volatile boolean StartHw = FALSE; +volatile bool StartHw = false; rtems_task Medium_Exec(rtems_task_argument TaskArg) { diff --git a/testsuites/sptests/sp37/init.c b/testsuites/sptests/sp37/init.c index 3817afcdc0..6480410272 100644 --- a/testsuites/sptests/sp37/init.c +++ b/testsuites/sptests/sp37/init.c @@ -19,7 +19,7 @@ void test_interrupt_inline(void) { rtems_interrupt_level level; - boolean in_isr; + bool in_isr; puts( "interrupt is in progress (use body)" ); in_isr = rtems_interrupt_is_in_progress(); @@ -43,7 +43,7 @@ volatile int isr_in_progress_inline; void check_isr_in_progress_inline(void) { - boolean in_isr; + bool in_isr; in_isr = rtems_interrupt_is_in_progress(); isr_in_progress_inline = ( in_isr ) ? 1 : 2; @@ -59,7 +59,7 @@ rtems_timer_service_routine test_isr_in_progress( void *arg ) { - boolean in_isr; + bool in_isr; check_isr_in_progress_inline(); @@ -116,7 +116,7 @@ rtems_timer_service_routine test_unblock_task( void *arg ) { - boolean in_isr; + bool in_isr; rtems_status_code status; in_isr = rtems_interrupt_is_in_progress(); @@ -147,7 +147,7 @@ rtems_task Init( rtems_time_of_day time; rtems_status_code status; rtems_interrupt_level level; - boolean in_isr; + bool in_isr; rtems_id timer; int i; diff --git a/testsuites/sptests/sp38/init.c b/testsuites/sptests/sp38/init.c index 28689234f8..d31b9fd119 100644 --- a/testsuites/sptests/sp38/init.c +++ b/testsuites/sptests/sp38/init.c @@ -14,8 +14,8 @@ #define CONFIGURE_INIT #include "system.h" -volatile boolean signal_sent; -volatile boolean signal_processed; +volatile bool signal_sent; +volatile bool signal_processed; rtems_id main_task; diff --git a/testsuites/sptests/sp39/init.c b/testsuites/sptests/sp39/init.c index a6ae27680b..16efd7fe01 100644 --- a/testsuites/sptests/sp39/init.c +++ b/testsuites/sptests/sp39/init.c @@ -14,7 +14,7 @@ #define CONFIGURE_INIT #include "system.h" -volatile boolean case_hit; +volatile bool case_hit; rtems_id main_task; rtems_id other_task; diff --git a/testsuites/sptests/sp41/init.c b/testsuites/sptests/sp41/init.c index d0440bf879..b259be614f 100644 --- a/testsuites/sptests/sp41/init.c +++ b/testsuites/sptests/sp41/init.c @@ -15,7 +15,7 @@ #define __RTEMS_VIOLATE_KERNEL_VISIBILITY__ 1 #include "system.h" -volatile boolean case_hit; +volatile bool case_hit; rtems_id main_task; rtems_id Semaphore; diff --git a/testsuites/sptests/sp42/init.c b/testsuites/sptests/sp42/init.c index ce93c244be..66934a594d 100644 --- a/testsuites/sptests/sp42/init.c +++ b/testsuites/sptests/sp42/init.c @@ -63,7 +63,7 @@ rtems_task Locker_task( void do_test( rtems_attribute attr, - boolean extract /* TRUE if extract, not release */ + bool extract /* TRUE if extract, not release */ ) { rtems_status_code status; diff --git a/testsuites/sptests/sp43/init.c b/testsuites/sptests/sp43/init.c index d5fba8ad95..d3e796cbfe 100644 --- a/testsuites/sptests/sp43/init.c +++ b/testsuites/sptests/sp43/init.c @@ -50,7 +50,7 @@ void print_class_info( void change_name( rtems_id id, const char *newName, - boolean printable + bool printable ) { rtems_status_code status; diff --git a/testsuites/sptests/spfatal/fatal.c b/testsuites/sptests/spfatal/fatal.c index 2a57cb89d5..a87e7797d6 100644 --- a/testsuites/sptests/spfatal/fatal.c +++ b/testsuites/sptests/spfatal/fatal.c @@ -57,7 +57,7 @@ void Process_case(); rtems_extension Fatal_extension( uint32_t source, - boolean is_internal, + bool is_internal, uint32_t error ) { diff --git a/testsuites/sptests/spfatal/system.h b/testsuites/sptests/spfatal/system.h index bc04112a72..8d1881c06c 100644 --- a/testsuites/sptests/spfatal/system.h +++ b/testsuites/sptests/spfatal/system.h @@ -28,7 +28,7 @@ void put_error( rtems_extension Fatal_extension( uint32_t source, - boolean is_internal, + bool is_internal, uint32_t error ); diff --git a/testsuites/sptests/spfatal_support/init.c b/testsuites/sptests/spfatal_support/init.c index f68d4e44ec..84bade2691 100644 --- a/testsuites/sptests/spfatal_support/init.c +++ b/testsuites/sptests/spfatal_support/init.c @@ -119,7 +119,7 @@ void Put_Source( uint32_t source ) rtems_extension Fatal_extension( uint32_t source, - boolean is_internal, + bool is_internal, uint32_t error ) { diff --git a/testsuites/sptests/spfatal_support/system.h b/testsuites/sptests/spfatal_support/system.h index 7732e5c6c9..e55d50d69d 100644 --- a/testsuites/sptests/spfatal_support/system.h +++ b/testsuites/sptests/spfatal_support/system.h @@ -28,7 +28,7 @@ rtems_task Init( rtems_extension Fatal_extension( uint32_t source, - boolean is_internal, + bool is_internal, uint32_t error ); -- cgit v1.2.3