summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/interr.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-12-08 16:41:30 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-12-09 08:47:51 +0100
commitb6606e8d9911d1487dbf8338447e7560d09ff48c (patch)
tree0d6ed5ed5e6dcd9284e8ec3e6a6d4c68764aea36 /cpukit/score/src/interr.c
parentcdtest: Print proper begin/end of test messages (diff)
downloadrtems-b6606e8d9911d1487dbf8338447e7560d09ff48c.tar.bz2
score: Remove fatal is internal indicator
The fatal is internal indicator is redundant since the fatal source and error code uniquely identify a fatal error. Keep the fatal user extension is internal parameter for backward compatibility and set it to false always. Update #2825.
Diffstat (limited to 'cpukit/score/src/interr.c')
-rw-r--r--cpukit/score/src/interr.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/cpukit/score/src/interr.c b/cpukit/score/src/interr.c
index 8740027617..5993eb9ffc 100644
--- a/cpukit/score/src/interr.c
+++ b/cpukit/score/src/interr.c
@@ -28,16 +28,14 @@ System_state_Codes _System_state_Current;
Internal_errors_Information _Internal_errors_What_happened;
void _Terminate(
- Internal_errors_Source the_source,
- bool is_internal,
- Internal_errors_t the_error
+ Internal_errors_Source the_source,
+ Internal_errors_t the_error
)
{
- _User_extensions_Fatal( the_source, is_internal, the_error );
+ _User_extensions_Fatal( the_source, the_error );
- _Internal_errors_What_happened.the_source = the_source;
- _Internal_errors_What_happened.is_internal = is_internal;
- _Internal_errors_What_happened.the_error = the_error;
+ _Internal_errors_What_happened.the_source = the_source;
+ _Internal_errors_What_happened.the_error = the_error;
_System_state_Set( SYSTEM_STATE_TERMINATED );