forked from Imagelibrary/rtems
testsuites: Fix prototypes
This commit is contained in:
@@ -86,7 +86,11 @@ rtems_task Init(
|
||||
directive_failed( status, "rtems_task_delete of RTEMS_SELF" );
|
||||
}
|
||||
|
||||
void Fatal_extension( uint32_t source, bool is_internal, uint32_t error )
|
||||
void Fatal_extension(
|
||||
rtems_fatal_source source,
|
||||
bool is_internal,
|
||||
rtems_fatal_code error
|
||||
)
|
||||
{
|
||||
if ( source != RTEMS_FATAL_SOURCE_STACK_CHECKER ) {
|
||||
printk( "unexpected fatal source\n" );
|
||||
|
||||
@@ -41,7 +41,11 @@ void blow_stack( void );
|
||||
|
||||
#define CONFIGURE_STACK_CHECKER_ENABLED
|
||||
|
||||
void Fatal_extension( uint32_t source, bool is_internal, uint32_t error );
|
||||
void Fatal_extension(
|
||||
rtems_fatal_source source,
|
||||
bool is_internal,
|
||||
rtems_fatal_code error
|
||||
);
|
||||
|
||||
#define CONFIGURE_INITIAL_EXTENSIONS \
|
||||
{ NULL, NULL, NULL, NULL, NULL, NULL, NULL, Fatal_extension }
|
||||
|
||||
@@ -83,11 +83,10 @@ void Put_Source( rtems_fatal_source source )
|
||||
printk( "%s", rtems_fatal_source_description( source ) );
|
||||
}
|
||||
|
||||
|
||||
void Fatal_extension(
|
||||
uint32_t source,
|
||||
bool is_internal,
|
||||
uint32_t error
|
||||
rtems_fatal_source source,
|
||||
bool is_internal,
|
||||
rtems_fatal_code error
|
||||
)
|
||||
{
|
||||
print_test_begin_message();
|
||||
|
||||
@@ -36,9 +36,9 @@ void *POSIX_Init(
|
||||
);
|
||||
|
||||
void Fatal_extension(
|
||||
uint32_t source,
|
||||
bool is_internal,
|
||||
uint32_t error
|
||||
rtems_fatal_source source,
|
||||
bool is_internal,
|
||||
rtems_fatal_code error
|
||||
);
|
||||
|
||||
/* need prototypes */
|
||||
|
||||
@@ -80,11 +80,10 @@ void Put_Source( rtems_fatal_source source )
|
||||
printk( "%s", rtems_fatal_source_description( source ) );
|
||||
}
|
||||
|
||||
|
||||
void Fatal_extension(
|
||||
uint32_t source,
|
||||
bool is_internal,
|
||||
uint32_t error
|
||||
rtems_fatal_source source,
|
||||
bool is_internal,
|
||||
rtems_fatal_code error
|
||||
)
|
||||
{
|
||||
print_test_begin_message();
|
||||
|
||||
@@ -25,9 +25,9 @@ rtems_task Init(
|
||||
);
|
||||
|
||||
void Fatal_extension(
|
||||
uint32_t source,
|
||||
bool is_internal,
|
||||
uint32_t error
|
||||
rtems_fatal_source source,
|
||||
bool is_internal,
|
||||
rtems_fatal_code error
|
||||
);
|
||||
|
||||
void Put_Error(
|
||||
|
||||
Reference in New Issue
Block a user