summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/threadinitialize.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/threadinitialize.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/threadinitialize.c')
-rw-r--r--cpukit/score/src/threadinitialize.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/cpukit/score/src/threadinitialize.c b/cpukit/score/src/threadinitialize.c
index b7e504ca4a..3bad6c92bc 100644
--- a/cpukit/score/src/threadinitialize.c
+++ b/cpukit/score/src/threadinitialize.c
@@ -81,14 +81,14 @@ bool _Thread_Initialize(
actual_stack_size = _Thread_Stack_Allocate( the_thread, stack_size );
if ( !actual_stack_size || actual_stack_size < stack_size )
- return FALSE; /* stack allocation failed */
+ return false; /* stack allocation failed */
stack = the_thread->Start.stack;
- the_thread->Start.core_allocated_stack = TRUE;
+ the_thread->Start.core_allocated_stack = true;
} else {
stack = stack_area;
actual_stack_size = stack_size;
- the_thread->Start.core_allocated_stack = FALSE;
+ the_thread->Start.core_allocated_stack = false;
}
_Stack_Initialize(
@@ -107,7 +107,7 @@ bool _Thread_Initialize(
fp_area = _Workspace_Allocate( CONTEXT_FP_SIZE );
if ( !fp_area ) {
_Thread_Stack_Free( the_thread );
- return FALSE;
+ return false;
}
fp_area = _Context_Fp_start( fp_area, 0 );
@@ -151,7 +151,7 @@ bool _Thread_Initialize(
_Thread_Stack_Free( the_thread );
- return FALSE;
+ return false;
}
} else
extensions_area = NULL;
@@ -238,9 +238,9 @@ bool _Thread_Initialize(
_Thread_Stack_Free( the_thread );
- return FALSE;
+ return false;
}
- return TRUE;
+ return true;
}