diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-10-12 12:16:23 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-10-12 12:16:23 +0000 |
commit | 749d64a86da2bad1d577c83032dea8b8ef942d1d (patch) | |
tree | dfe5a6530e26d2081642e5c54a9264c8a2a43a1b /cpukit/score | |
parent | Introduce Internal_errors_t. (diff) | |
download | rtems-749d64a86da2bad1d577c83032dea8b8ef942d1d.tar.bz2 |
Reflect having introduced Internal_errors_t.
Diffstat (limited to 'cpukit/score')
-rw-r--r-- | cpukit/score/include/rtems/score/userext.h | 12 | ||||
-rw-r--r-- | cpukit/score/src/interr.c | 2 | ||||
-rw-r--r-- | cpukit/score/src/userextthreadbegin.c | 2 |
3 files changed, 8 insertions, 8 deletions
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 <rtems/score/interr.h> #include <rtems/score/chain.h> #include <rtems/score/thread.h> +#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; |