From 9d2df2b3e1c8cc83769dd795698662f4c610f600 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Tue, 3 Nov 2009 05:23:05 +0000 Subject: Eliminate TRUE/FALSE in favor of true/false. --- cpukit/itron/src/chg_pri.c | 2 +- cpukit/itron/src/cre_tsk.c | 6 +++--- cpukit/itron/src/eventflags.c | 4 ++-- cpukit/itron/src/fmempool.c | 4 ++-- cpukit/itron/src/frsm_tsk.c | 2 +- cpukit/itron/src/itroninittasks.c | 4 ++-- cpukit/itron/src/itronsem.c | 4 ++-- cpukit/itron/src/mbox.c | 4 ++-- cpukit/itron/src/msgbuffer.c | 4 ++-- cpukit/itron/src/port.c | 4 ++-- cpukit/itron/src/rsm_tsk.c | 2 +- cpukit/itron/src/snd_mbx.c | 2 +- cpukit/itron/src/task.c | 4 ++-- cpukit/itron/src/vmempool.c | 4 ++-- 14 files changed, 25 insertions(+), 25 deletions(-) (limited to 'cpukit/itron') diff --git a/cpukit/itron/src/chg_pri.c b/cpukit/itron/src/chg_pri.c index d47d17cafc..0a29128959 100644 --- a/cpukit/itron/src/chg_pri.c +++ b/cpukit/itron/src/chg_pri.c @@ -61,7 +61,7 @@ ER chg_pri( if ( the_thread->resource_count == 0 || the_thread->current_priority > new_priority ) - _Thread_Change_priority( the_thread, new_priority, FALSE ); + _Thread_Change_priority( the_thread, new_priority, false ); break; } diff --git a/cpukit/itron/src/cre_tsk.c b/cpukit/itron/src/cre_tsk.c index fb8164423f..2053ff262c 100644 --- a/cpukit/itron/src/cre_tsk.c +++ b/cpukit/itron/src/cre_tsk.c @@ -92,12 +92,12 @@ ER cre_tsk( NULL, pk_ctsk->stksz, #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE ) - TRUE, /* XXX - All tasks FP (if the HW supports it) for now */ + true, /* XXX - All tasks FP (if the HW supports it) for now */ #else - FALSE, + false, #endif core_priority, - TRUE, /* preemptible */ + true, /* preemptible */ THREAD_CPU_BUDGET_ALGORITHM_EXHAUST_TIMESLICE, NULL, /* no budget algorithm callout */ 0, diff --git a/cpukit/itron/src/eventflags.c b/cpukit/itron/src/eventflags.c index 99664f59f5..a68783398a 100644 --- a/cpukit/itron/src/eventflags.c +++ b/cpukit/itron/src/eventflags.c @@ -37,11 +37,11 @@ void _ITRON_Eventflags_Manager_initialization(void) /* maximum objects of this class */ sizeof( ITRON_Eventflags_Control ), /* size of this object's control block */ - FALSE, /* TRUE if names for this object are strings */ + false, /* true if names for this object are strings */ ITRON_MAXIMUM_NAME_LENGTH /* maximum length of each object's name */ #if defined(RTEMS_MULTIPROCESSING) , - FALSE, /* TRUE if this is a global object class */ + false, /* true if this is a global object class */ NULL /* Proxy extraction support callout */ #endif ); diff --git a/cpukit/itron/src/fmempool.c b/cpukit/itron/src/fmempool.c index 9d8f40b1b6..51f8ac0a59 100644 --- a/cpukit/itron/src/fmempool.c +++ b/cpukit/itron/src/fmempool.c @@ -38,11 +38,11 @@ void _ITRON_Fixed_memory_pool_Manager_initialization(void) /* maximum objects of this class */ sizeof( ITRON_Fixed_memory_pool_Control ), /* size of this object's control block */ - FALSE, /* TRUE if names for this object are strings */ + false, /* true if names for this object are strings */ ITRON_MAXIMUM_NAME_LENGTH /* maximum length of each object's name */ #if defined(RTEMS_MULTIPROCESSING) , - FALSE, /* TRUE if this is a global object class */ + false, /* true if this is a global object class */ NULL /* Proxy extraction support callout */ #endif ); diff --git a/cpukit/itron/src/frsm_tsk.c b/cpukit/itron/src/frsm_tsk.c index f1bb36ec5d..ce6d151011 100644 --- a/cpukit/itron/src/frsm_tsk.c +++ b/cpukit/itron/src/frsm_tsk.c @@ -53,7 +53,7 @@ ER frsm_tsk( if ( ! _States_Is_suspended(the_thread->current_state) ) _ITRON_return_errorno( E_OK ); - _Thread_Resume( the_thread, TRUE ); + _Thread_Resume( the_thread, true ); break; } diff --git a/cpukit/itron/src/itroninittasks.c b/cpukit/itron/src/itroninittasks.c index 96a0a88548..6b00f91d68 100644 --- a/cpukit/itron/src/itroninittasks.c +++ b/cpukit/itron/src/itroninittasks.c @@ -51,12 +51,12 @@ void _ITRON_Task_Initialize_user_tasks_body( void ) ); if ( return_value != E_OK ) - _Internal_error_Occurred( INTERNAL_ERROR_ITRON_API, TRUE, return_value ); + _Internal_error_Occurred( INTERNAL_ERROR_ITRON_API, true, return_value ); return_value = sta_tsk( user_tasks[ index ].id, 0 ); if ( return_value != E_OK ) - _Internal_error_Occurred( INTERNAL_ERROR_ITRON_API, TRUE, return_value ); + _Internal_error_Occurred( INTERNAL_ERROR_ITRON_API, true, return_value ); } } diff --git a/cpukit/itron/src/itronsem.c b/cpukit/itron/src/itronsem.c index 3a16199d05..15fcb78666 100644 --- a/cpukit/itron/src/itronsem.c +++ b/cpukit/itron/src/itronsem.c @@ -40,11 +40,11 @@ void _ITRON_Semaphore_Manager_initialization(void) Configuration_ITRON_API.maximum_semaphores, /* maximum objects of this class */ sizeof(ITRON_Semaphore_Control), /* size of this object's control block */ - FALSE, /* TRUE if names for this object are strings */ + false, /* true if names for this object are strings */ ITRON_MAXIMUM_NAME_LENGTH /* maximum length of each object's name */ #if defined(RTEMS_MULTIPROCESSING) , - FALSE, /* TRUE if this is a global object class */ + false, /* true if this is a global object class */ NULL /* Proxy extraction support callout */ #endif ); diff --git a/cpukit/itron/src/mbox.c b/cpukit/itron/src/mbox.c index b0888dc2bc..c567f378e5 100644 --- a/cpukit/itron/src/mbox.c +++ b/cpukit/itron/src/mbox.c @@ -39,11 +39,11 @@ void _ITRON_Mailbox_Manager_initialization(void) Configuration_ITRON_API.maximum_mailboxes, /* maximum objects of this class */ sizeof( ITRON_Mailbox_Control ), /* size of this object's control block */ - FALSE, /* TRUE if names for this object are strings */ + false, /* true if names for this object are strings */ ITRON_MAXIMUM_NAME_LENGTH /* maximum length of each object's name */ #if defined(RTEMS_MULTIPROCESSING) , - FALSE, /* TRUE if this is a global object class */ + false, /* true if this is a global object class */ NULL /* Proxy extraction support callout */ #endif ); diff --git a/cpukit/itron/src/msgbuffer.c b/cpukit/itron/src/msgbuffer.c index 0945c4967d..7bbbafa736 100644 --- a/cpukit/itron/src/msgbuffer.c +++ b/cpukit/itron/src/msgbuffer.c @@ -41,11 +41,11 @@ void _ITRON_Message_buffer_Manager_initialization(void) /* maximum objects of this class */ sizeof( ITRON_Message_buffer_Control ), /* size of this object's control block */ - FALSE, /* TRUE if names for this object are strings */ + false, /* true if names for this object are strings */ ITRON_MAXIMUM_NAME_LENGTH /* maximum length of each object's name */ #if defined(RTEMS_MULTIPROCESSING) , - FALSE, /* TRUE if this is a global object class */ + false, /* true if this is a global object class */ NULL /* Proxy extraction support callout */ #endif ); diff --git a/cpukit/itron/src/port.c b/cpukit/itron/src/port.c index cd7f40b626..1b2a2020c6 100644 --- a/cpukit/itron/src/port.c +++ b/cpukit/itron/src/port.c @@ -36,11 +36,11 @@ void _ITRON_Port_Manager_initialization(void) Configuration_ITRON_API.maximum_ports, /* maximum objects of this class */ sizeof( ITRON_Port_Control ), /* size of this object's control block */ - FALSE, /* TRUE if names for this object are strings */ + false, /* true if names for this object are strings */ ITRON_MAXIMUM_NAME_LENGTH /* maximum length of each object's name */ #if defined(RTEMS_MULTIPROCESSING) , - FALSE, /* TRUE if this is a global object class */ + false, /* true if this is a global object class */ NULL /* Proxy extraction support callout */ #endif ); diff --git a/cpukit/itron/src/rsm_tsk.c b/cpukit/itron/src/rsm_tsk.c index cb0de0d10e..26fc1daa6f 100644 --- a/cpukit/itron/src/rsm_tsk.c +++ b/cpukit/itron/src/rsm_tsk.c @@ -54,7 +54,7 @@ ER rsm_tsk( if ( ! _States_Is_suspended(the_thread->current_state) ) _ITRON_return_errorno( E_OBJ ); - _Thread_Resume( the_thread, FALSE ); + _Thread_Resume( the_thread, false ); break; } diff --git a/cpukit/itron/src/snd_mbx.c b/cpukit/itron/src/snd_mbx.c index 82530de68e..b66bd3d49e 100644 --- a/cpukit/itron/src/snd_mbx.c +++ b/cpukit/itron/src/snd_mbx.c @@ -60,7 +60,7 @@ ER snd_msg( the_mailbox->Object.id, NULL, /* multiprocessing not supported */ message_priority, - FALSE, /* do not allow sender to block */ + false, /* do not allow sender to block */ 0 /* no timeout */ ); break; diff --git a/cpukit/itron/src/task.c b/cpukit/itron/src/task.c index 7c242676ce..c47b002d90 100644 --- a/cpukit/itron/src/task.c +++ b/cpukit/itron/src/task.c @@ -160,11 +160,11 @@ void _ITRON_Task_Manager_initialization(void) Configuration_ITRON_API.maximum_tasks, /* maximum objects of this class */ sizeof( Thread_Control ), /* size of this object's control block */ - FALSE, /* TRUE if names for this object are strings */ + false, /* true if names for this object are strings */ ITRON_MAXIMUM_NAME_LENGTH /* maximum length of each object's name */ #if defined(RTEMS_MULTIPROCESSING) , - FALSE, /* TRUE if this is a global object class */ + false, /* true if this is a global object class */ NULL /* Proxy extraction support callout */ #endif ); diff --git a/cpukit/itron/src/vmempool.c b/cpukit/itron/src/vmempool.c index 78b17a9c27..ea2548f430 100644 --- a/cpukit/itron/src/vmempool.c +++ b/cpukit/itron/src/vmempool.c @@ -39,11 +39,11 @@ void _ITRON_Variable_memory_pool_Manager_initialization(void) /* maximum objects of this class */ sizeof( ITRON_Variable_memory_pool_Control ), /* size of this object's control block */ - FALSE, /* TRUE if names for this object are strings */ + false, /* true if names for this object are strings */ ITRON_MAXIMUM_NAME_LENGTH /* maximum length of each object's name */ #if defined(RTEMS_MULTIPROCESSING) , - FALSE, /* TRUE if this is a global object class */ + false, /* true if this is a global object class */ NULL /* Proxy extraction support callout */ #endif ); -- cgit v1.2.3