summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2008-09-06 03:39:58 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2008-09-06 03:39:58 +0000
commitf0157b8fd85d5ce211b0aae48b53d9d88b59cd68 (patch)
tree12771bc70868c83ff528beb594972fb6fdaeb45a /testsuites/libtests
parent2008-09-06 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-f0157b8fd85d5ce211b0aae48b53d9d88b59cd68.tar.bz2
Convert to "bool".
Diffstat (limited to 'testsuites/libtests')
-rw-r--r--testsuites/libtests/malloctest/init.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuites/libtests/malloctest/init.c b/testsuites/libtests/malloctest/init.c
index e6400f4dec..b1028640b4 100644
--- a/testsuites/libtests/malloctest/init.c
+++ b/testsuites/libtests/malloctest/init.c
@@ -155,7 +155,7 @@ void test_heap_extend()
{
void *p1, *p2, *p3, *p4;
uint32_t u1, u2;
- boolean ret;
+ bool ret;
/*
* Easier to hit extend with a dedicated heap.
@@ -165,11 +165,11 @@ void test_heap_extend()
puts( "heap extend - bad address" );
ret = _Protected_heap_Extend( &TestHeap, TestHeapMemory - 512, 512 );
- rtems_test_assert( ret == FALSE );
+ rtems_test_assert( ret == false );
puts( "heap extend - OK" );
ret = _Protected_heap_Extend( &TestHeap, &TestHeapMemory[ 512 ], 512 );
- rtems_test_assert( ret == TRUE );
+ rtems_test_assert( ret == true );
}
void test_heap_info(void)