summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/src/workspace.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2008-09-04 17:46:39 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2008-09-04 17:46:39 +0000
commit484a76996eeb65ad726b65946642516c70b3257b (patch)
tree6aed4eba45d4eb704f004622ecbf63e275bb876c /cpukit/rtems/src/workspace.c
parent2008-09-04 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-484a76996eeb65ad726b65946642516c70b3257b.tar.bz2
Convert to "bool".
Diffstat (limited to 'cpukit/rtems/src/workspace.c')
-rw-r--r--cpukit/rtems/src/workspace.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/cpukit/rtems/src/workspace.c b/cpukit/rtems/src/workspace.c
index d5335ebc8d..f573440475 100644
--- a/cpukit/rtems/src/workspace.c
+++ b/cpukit/rtems/src/workspace.c
@@ -22,7 +22,7 @@
#include <string.h> /* for memset */
-boolean rtems_workspace_get_information(
+bool rtems_workspace_get_information(
Heap_Information_block *the_info
)
{
@@ -30,30 +30,30 @@ boolean rtems_workspace_get_information(
status = _Heap_Get_information( &_Workspace_Area, the_info );
if ( status == HEAP_GET_INFORMATION_SUCCESSFUL )
- return TRUE;
+ return true;
else
- return FALSE;
+ return false;
}
/*
* _Workspace_Allocate
*/
-boolean rtems_workspace_allocate(
+bool rtems_workspace_allocate(
size_t bytes,
void **pointer
)
{
*pointer = _Heap_Allocate( &_Workspace_Area, bytes );
if (!pointer)
- return FALSE;
+ return false;
else
- return TRUE;
+ return true;
}
/*
* _Workspace_Allocate
*/
-boolean rtems_workspace_free(
+bool rtems_workspace_free(
void *pointer
)
{