forked from Imagelibrary/rtems
Add missing prototypes.
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
#include <rtems.h>
|
||||
|
||||
void b() {}
|
||||
void b(void) {}
|
||||
|
||||
void blow_stack( void )
|
||||
{
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user