diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-06-02 16:11:31 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-06-02 16:11:31 +0000 |
commit | 38baeb75f1bc6c62600cfb946d83fae41aefbc16 (patch) | |
tree | 128519ff9f68acd063332dde327ea353d97b3f27 /cpukit | |
parent | 2008-06-02 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-38baeb75f1bc6c62600cfb946d83fae41aefbc16.tar.bz2 |
2008-06-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/include/rtems/score/interr.h, score/src/interr.c: Convention
calls for leading underscore on private RTEMS variables.
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/ChangeLog | 5 | ||||
-rw-r--r-- | cpukit/score/include/rtems/score/interr.h | 2 | ||||
-rw-r--r-- | 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 <joel.sherrill@oarcorp.com> + + * 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 <ralf.corsepius@rtems.org> * 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 ); |