summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-06-02 16:11:56 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-06-02 16:11:56 +0000
commit389908027e21617a3519630fbebe4e540bdb7a9a (patch)
treeec5454ed3e5bb3250e898af2622c88376a80a9ae
parent2008-06-02 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-389908027e21617a3519630fbebe4e540bdb7a9a.tar.bz2
2008-06-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* shared/startup/panic.c: Convention calls for leading underscore on private RTEMS variables.
-rw-r--r--c/src/lib/libbsp/powerpc/ChangeLog5
-rw-r--r--c/src/lib/libbsp/powerpc/shared/startup/panic.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/c/src/lib/libbsp/powerpc/ChangeLog b/c/src/lib/libbsp/powerpc/ChangeLog
index 302812bc31..2cd358f54e 100644
--- a/c/src/lib/libbsp/powerpc/ChangeLog
+++ b/c/src/lib/libbsp/powerpc/ChangeLog
@@ -1,3 +1,8 @@
+2008-06-02 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * shared/startup/panic.c: Convention calls for leading underscore on
+ private RTEMS variables.
+
2008-05-23 Till Straumann <strauman@slac.stanford.edu>
* shared/startup/pretaskinghook.c: removed declaration
diff --git a/c/src/lib/libbsp/powerpc/shared/startup/panic.c b/c/src/lib/libbsp/powerpc/shared/startup/panic.c
index 0f7271a28b..5e54410fae 100644
--- a/c/src/lib/libbsp/powerpc/shared/startup/panic.c
+++ b/c/src/lib/libbsp/powerpc/shared/startup/panic.c
@@ -19,9 +19,9 @@ void BSP_panic(char *s)
rebootQuestion();
}
-#define THESRC Internal_errors_What_happened.the_source
-#define ISITNL Internal_errors_What_happened.is_internal
-#define THEERR Internal_errors_What_happened.the_error
+#define THESRC _Internal_errors_What_happened.the_source
+#define ISITNL _Internal_errors_What_happened.is_internal
+#define THEERR _Internal_errors_What_happened.the_error
char *score_status_text(rtems_status_code sc)
{