summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/malloctest/init.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-10-26 05:44:07 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-10-26 05:44:07 +0000
commitcbc5c46032cc3dc6a1ce72c4b56f2c298648b741 (patch)
tree6af7b8be846e8eeb1f27a575bb467c1dd657b00a /testsuites/libtests/malloctest/init.c
parent2009-10-26 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-cbc5c46032cc3dc6a1ce72c4b56f2c298648b741.tar.bz2
Add missing prototypes.
Diffstat (limited to 'testsuites/libtests/malloctest/init.c')
-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 4121e0d75f..f7625b83b5 100644
--- a/testsuites/libtests/malloctest/init.c
+++ b/testsuites/libtests/malloctest/init.c
@@ -800,7 +800,7 @@ static void test_heap_block_allocate( void )
test_heap_do_block_allocate( 3, p2 );
}
-static void *test_alloc_one_page()
+static void *test_alloc_one_page(void)
{
void *alloc_begin_ptr = _Heap_Allocate_aligned_with_boundary(
&TestHeap,
@@ -821,7 +821,7 @@ static void *test_alloc_one_page()
return alloc_begin_ptr;
}
-static void *test_alloc_two_pages()
+static void *test_alloc_two_pages(void)
{
void *alloc_begin_ptr = _Heap_Allocate_aligned_with_boundary(
&TestHeap,
@@ -862,7 +862,7 @@ static void test_simple_resize_block(
rtems_test_assert( status == expected_status );
}
-static void test_heap_resize_block()
+static void test_heap_resize_block(void)
{
void *p1, *p2, *p3;
uintptr_t new_alloc_size = 0;