diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-09-04 17:46:39 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-09-04 17:46:39 +0000 |
commit | 484a76996eeb65ad726b65946642516c70b3257b (patch) | |
tree | 6aed4eba45d4eb704f004622ecbf63e275bb876c /cpukit/score/src/coremsginsert.c | |
parent | 2008-09-04 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-484a76996eeb65ad726b65946642516c70b3257b.tar.bz2 |
Convert to "bool".
Diffstat (limited to 'cpukit/score/src/coremsginsert.c')
-rw-r--r-- | cpukit/score/src/coremsginsert.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/score/src/coremsginsert.c b/cpukit/score/src/coremsginsert.c index 2402755447..5c30fd7ee8 100644 --- a/cpukit/score/src/coremsginsert.c +++ b/cpukit/score/src/coremsginsert.c @@ -59,7 +59,7 @@ void _CORE_message_queue_Insert_message( ) { ISR_Level level; - boolean notify = FALSE; + bool notify = false; the_message->priority = submit_type; @@ -67,14 +67,14 @@ void _CORE_message_queue_Insert_message( case CORE_MESSAGE_QUEUE_SEND_REQUEST: _ISR_Disable( level ); if ( the_message_queue->number_of_pending_messages++ == 0 ) - notify = TRUE; + notify = true; _CORE_message_queue_Append_unprotected(the_message_queue, the_message); _ISR_Enable( level ); break; case CORE_MESSAGE_QUEUE_URGENT_REQUEST: _ISR_Disable( level ); if ( the_message_queue->number_of_pending_messages++ == 0 ) - notify = TRUE; + notify = true; _CORE_message_queue_Prepend_unprotected(the_message_queue, the_message); _ISR_Enable( level ); break; @@ -99,7 +99,7 @@ void _CORE_message_queue_Insert_message( } _ISR_Disable( level ); if ( the_message_queue->number_of_pending_messages++ == 0 ) - notify = TRUE; + notify = true; _Chain_Insert_unprotected( the_node->previous, &the_message->Node ); _ISR_Enable( level ); } |