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/include/rtems/score/protectedheap.h | |
parent | 2008-09-04 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-484a76996eeb65ad726b65946642516c70b3257b.tar.bz2 |
Convert to "bool".
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/include/rtems/score/protectedheap.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/cpukit/score/include/rtems/score/protectedheap.h b/cpukit/score/include/rtems/score/protectedheap.h index 8870262b33..78c2abc3d2 100644 --- a/cpukit/score/include/rtems/score/protectedheap.h +++ b/cpukit/score/include/rtems/score/protectedheap.h @@ -71,7 +71,7 @@ static inline uint32_t _Protected_heap_Initialize( * @param[in] size is the size in bytes of the memory area to add * @return a status indicating success or the reason for failure */ -boolean _Protected_heap_Extend( +bool _Protected_heap_Extend( Heap_Control *the_heap, void *starting_address, size_t size @@ -125,7 +125,7 @@ void *_Protected_heap_Allocate_aligned( * @return TRUE if successfully able to determine the size, FALSE otherwise * @return *size filled in with the size of the user area for this block */ -boolean _Protected_heap_Get_block_size( +bool _Protected_heap_Get_block_size( Heap_Control *the_heap, void *starting_address, size_t *size @@ -143,7 +143,7 @@ boolean _Protected_heap_Get_block_size( * @return TRUE if successfully able to resize the block. * FALSE if the block can't be resized in place. */ -boolean _Protected_heap_Resize_block( +bool _Protected_heap_Resize_block( Heap_Control *the_heap, void *starting_address, size_t size @@ -159,7 +159,7 @@ boolean _Protected_heap_Resize_block( * to free * @return TRUE if successfully freed, FALSE otherwise */ -boolean _Protected_heap_Free( +bool _Protected_heap_Free( Heap_Control *the_heap, void *start_address ); @@ -173,10 +173,10 @@ boolean _Protected_heap_Free( * @param[in] do_dump is set to TRUE if errors should be printed * @return TRUE if the test passed fine, FALSE otherwise. */ -boolean _Protected_heap_Walk( +bool _Protected_heap_Walk( Heap_Control *the_heap, int source, - boolean do_dump + bool do_dump ); /** |