diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-12-22 05:52:32 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-12-22 05:52:32 +0000 |
commit | aae7f1a12b1d5bfe7233ce45532dba3ce651357b (patch) | |
tree | 072e6a5712a00830e7d89115cb2ee9b1f9f1895e /cpukit/score/src/heapwalk.c | |
parent | 2008-12-22 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-aae7f1a12b1d5bfe7233ce45532dba3ce651357b.tar.bz2 |
Eliminate TRUE/FALSE.
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/src/heapwalk.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cpukit/score/src/heapwalk.c b/cpukit/score/src/heapwalk.c index 2aaff7698d..3505676f4c 100644 --- a/cpukit/score/src/heapwalk.c +++ b/cpukit/score/src/heapwalk.c @@ -32,7 +32,7 @@ * Input parameters: * the_heap - pointer to heap header * source - a numeric indicator of the invoker of this routine - * do_dump - when TRUE print the information + * do_dump - when true print the information * * Output parameters: NONE */ @@ -51,7 +51,7 @@ bool _Heap_Walk( int error = 0; int passes = 0; - do_dump = FALSE; + do_dump = false; /* * We don't want to allow walking the heap until we have * transferred control to the user task so we watch the @@ -60,13 +60,13 @@ bool _Heap_Walk( /* if ( !_System_state_Is_up( _System_state_Get() ) ) - return TRUE; + return true; */ if (source < 0) source = the_heap->stats.instance; - if (do_dump == TRUE) + if (do_dump == true) printk("\nPASS: %d start %p final %p first %p last %p begin %p end %p\n", source, the_block, end, _Heap_First(the_heap), _Heap_Last(the_heap), @@ -164,7 +164,7 @@ bool _Heap_Walk( } if(do_dump && error) - _Internal_error_Occurred( INTERNAL_ERROR_CORE, TRUE, 0xffff0000 ); + _Internal_error_Occurred( INTERNAL_ERROR_CORE, true, 0xffff0000 ); return error; |