Add missing prototypes.

This commit is contained in:
Ralf Corsepius
2009-10-26 05:44:07 +00:00
parent 88f692dac2
commit cbc5c46032
4 changed files with 9 additions and 9 deletions

View File

@@ -58,7 +58,7 @@ static void *test_allocate_block(void)
return _Heap_Allocate_aligned_with_boundary( &TestHeap, 1, 0, 0 );
}
static void test_create_heap_with_gaps()
static void test_create_heap_with_gaps(void)
{
void *p1 = test_allocate_block();
void *p2 = test_allocate_block();
@@ -71,7 +71,7 @@ static void test_create_heap_with_gaps()
_Heap_Free( &TestHeap, p5 );
}
static void *test_fill_heap()
static void *test_fill_heap(void)
{
void *p1 = NULL;
void *p2 = NULL;

View File

@@ -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;

View File

@@ -15,7 +15,7 @@
#include <rtems.h>
void b() {}
void b(void) {}
void blow_stack( void )
{

View File

@@ -482,7 +482,7 @@ unsigned long get_baud_rate( void )
}
unsigned long get_parity()
unsigned long get_parity(void)
{
int parity;
@@ -510,7 +510,7 @@ unsigned long get_parity()
}
unsigned long get_stop_bits()
unsigned long get_stop_bits(void)
{
int stop_bits;
@@ -535,7 +535,7 @@ unsigned long get_stop_bits()
}
unsigned long get_data_bits()
unsigned long get_data_bits(void)
{
int data_bits;