From 38baeb75f1bc6c62600cfb946d83fae41aefbc16 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 2 Jun 2008 16:11:31 +0000 Subject: [PATCH] 2008-06-02 Joel Sherrill * score/include/rtems/score/interr.h, score/src/interr.c: Convention calls for leading underscore on private RTEMS variables. --- cpukit/ChangeLog | 5 +++++ cpukit/score/include/rtems/score/interr.h | 2 +- cpukit/score/src/interr.c | 6 +++--- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 1dc66907f2..f93c13c23b 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,8 @@ +2008-06-02 Joel Sherrill + + * score/include/rtems/score/interr.h, score/src/interr.c: Convention + calls for leading underscore on private RTEMS variables. + 2008-05-31 Ralf Corsépius * score/include/rtems/score/object.h, diff --git a/cpukit/score/include/rtems/score/interr.h b/cpukit/score/include/rtems/score/interr.h index 5666ddfb7e..97ce4f415c 100644 --- a/cpukit/score/include/rtems/score/interr.h +++ b/cpukit/score/include/rtems/score/interr.h @@ -83,7 +83,7 @@ typedef struct { /** * When a fatal error occurs, the error information is stored here. */ -SCORE_EXTERN Internal_errors_Information Internal_errors_What_happened; +SCORE_EXTERN Internal_errors_Information _Internal_errors_What_happened; /** @brief Internal error Occurred * diff --git a/cpukit/score/src/interr.c b/cpukit/score/src/interr.c index 90ebafdf21..e904815762 100644 --- a/cpukit/score/src/interr.c +++ b/cpukit/score/src/interr.c @@ -50,9 +50,9 @@ void _Internal_error_Occurred( ) { - 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.is_internal = is_internal; + _Internal_errors_What_happened.the_error = the_error; _User_extensions_Fatal( the_source, is_internal, the_error );