testsuites: Fix prototypes

This commit is contained in:
Sebastian Huber
2013-01-27 13:46:40 +01:00
parent 565d8daad5
commit 33bd2efbb2
6 changed files with 22 additions and 16 deletions

View File

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

View File

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