summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/threadchangepriority.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2008-12-22 05:52:32 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2008-12-22 05:52:32 +0000
commitaae7f1a12b1d5bfe7233ce45532dba3ce651357b (patch)
tree072e6a5712a00830e7d89115cb2ee9b1f9f1895e /cpukit/score/src/threadchangepriority.c
parent2008-12-22 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-aae7f1a12b1d5bfe7233ce45532dba3ce651357b.tar.bz2
Eliminate TRUE/FALSE.
Diffstat (limited to 'cpukit/score/src/threadchangepriority.c')
-rw-r--r--cpukit/score/src/threadchangepriority.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/score/src/threadchangepriority.c b/cpukit/score/src/threadchangepriority.c
index ec9099e118..2215be03a6 100644
--- a/cpukit/score/src/threadchangepriority.c
+++ b/cpukit/score/src/threadchangepriority.c
@@ -40,7 +40,7 @@
* Input parameters:
* the_thread - pointer to thread control block
* new_priority - ultimate priority
- * prepend_it - TRUE if the thread should be prepended to the chain
+ * prepend_it - true if the thread should be prepended to the chain
*
* Output parameters: NONE
*
@@ -70,7 +70,7 @@ void _Thread_Change_priority(
if ( prepend_it &&
_Thread_Is_executing( the_thread ) &&
new_priority >= the_thread->current_priority )
- prepend_it = TRUE;
+ prepend_it = true;
*/
/*
@@ -137,6 +137,6 @@ void _Thread_Change_priority(
if ( !_Thread_Is_executing_also_the_heir() &&
_Thread_Executing->is_preemptible )
- _Context_Switch_necessary = TRUE;
+ _Context_Switch_necessary = true;
_ISR_Enable( level );
}