diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-01-27 13:46:40 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-01-27 13:50:23 +0100 |
commit | 33bd2efbb2da8b1e8bd298417505e17ba1d191e5 (patch) | |
tree | d0bbc4a6dbdcb72f7fbd8ff1759d6a4e2c12fb53 /testsuites/libtests/stackchk | |
parent | testsuites: Use rtems_fatal_source_description() (diff) | |
download | rtems-33bd2efbb2da8b1e8bd298417505e17ba1d191e5.tar.bz2 |
testsuites: Fix prototypes
Diffstat (limited to 'testsuites/libtests/stackchk')
-rw-r--r-- | testsuites/libtests/stackchk/init.c | 6 | ||||
-rw-r--r-- | testsuites/libtests/stackchk/system.h | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/testsuites/libtests/stackchk/init.c b/testsuites/libtests/stackchk/init.c index 1551eecb37..772b039592 100644 --- a/testsuites/libtests/stackchk/init.c +++ b/testsuites/libtests/stackchk/init.c @@ -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" ); diff --git a/testsuites/libtests/stackchk/system.h b/testsuites/libtests/stackchk/system.h index 95babb8a0c..16b623ae2d 100644 --- a/testsuites/libtests/stackchk/system.h +++ b/testsuites/libtests/stackchk/system.h @@ -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 } |