From 749d64a86da2bad1d577c83032dea8b8ef942d1d Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Mon, 12 Oct 2009 12:16:23 +0000 Subject: Reflect having introduced Internal_errors_t. --- cpukit/score/include/rtems/score/userext.h | 12 ++++++------ cpukit/score/src/interr.c | 2 +- cpukit/score/src/userextthreadbegin.c | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) (limited to 'cpukit') diff --git a/cpukit/score/include/rtems/score/userext.h b/cpukit/score/include/rtems/score/userext.h index f8790799fd..26d06a6e32 100644 --- a/cpukit/score/include/rtems/score/userext.h +++ b/cpukit/score/include/rtems/score/userext.h @@ -20,14 +20,14 @@ #ifndef _RTEMS_SCORE_USEREXT_H #define _RTEMS_SCORE_USEREXT_H -#ifdef __cplusplus -extern "C" { -#endif - #include #include #include +#ifdef __cplusplus +extern "C" { +#endif + typedef void User_extensions_routine RTEMS_COMPILER_DEPRECATED_ATTRIBUTE; /** @@ -185,7 +185,7 @@ typedef void( *User_extensions_thread_exitted_extension )( typedef void( *User_extensions_fatal_extension )( Internal_errors_Source, bool, - uint32_t + Internal_errors_t ); /** @@ -310,7 +310,7 @@ void _User_extensions_Thread_exitted( void _User_extensions_Fatal( Internal_errors_Source source, bool is_internal, - uint32_t error + Internal_errors_t error ); /** @} */ diff --git a/cpukit/score/src/interr.c b/cpukit/score/src/interr.c index e71454d0ed..cd9e09121e 100644 --- a/cpukit/score/src/interr.c +++ b/cpukit/score/src/interr.c @@ -46,7 +46,7 @@ void _Internal_error_Occurred( Internal_errors_Source the_source, bool is_internal, - uint32_t the_error + Internal_errors_t the_error ) { diff --git a/cpukit/score/src/userextthreadbegin.c b/cpukit/score/src/userextthreadbegin.c index eacdc15706..f71aedf518 100644 --- a/cpukit/score/src/userextthreadbegin.c +++ b/cpukit/score/src/userextthreadbegin.c @@ -63,7 +63,7 @@ void _User_extensions_Thread_exitted ( void _User_extensions_Fatal ( Internal_errors_Source the_source, bool is_internal, - uint32_t the_error + Internal_errors_t the_error ) { Chain_Node *the_node; -- cgit v1.2.3