[rtems commit] i386: Avoid SCORE_EXTERN
Sebastian Huber
sebh at rtems.org
Wed Feb 17 08:42:03 UTC 2016
Module: rtems
Branch: master
Commit: deaf71637ad7ecb3f3d233039bfefc33b1416957
Changeset: http://git.rtems.org/rtems/commit/?id=deaf71637ad7ecb3f3d233039bfefc33b1416957
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Wed Feb 3 11:13:53 2016 +0100
i386: Avoid SCORE_EXTERN
Update #2559.
---
cpukit/score/cpu/i386/cpu.c | 4 ++++
cpukit/score/cpu/i386/rtems/score/cpu.h | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/cpukit/score/cpu/i386/cpu.c b/cpukit/score/cpu/i386/cpu.c
index 436c822..f22c4d3 100644
--- a/cpukit/score/cpu/i386/cpu.c
+++ b/cpukit/score/cpu/i386/cpu.c
@@ -45,6 +45,10 @@ I386_ASSERT_OFFSET(edi, EDI);
I386_ASSERT_OFFSET(is_executing, IS_EXECUTING);
#endif
+#if CPU_HARDWARE_FP
+Context_Control_fp _CPU_Null_fp_context;
+#endif
+
void _CPU_Initialize(void)
{
#if CPU_HARDWARE_FP
diff --git a/cpukit/score/cpu/i386/rtems/score/cpu.h b/cpukit/score/cpu/i386/rtems/score/cpu.h
index 5a8e5d6..d6828dc 100644
--- a/cpukit/score/cpu/i386/rtems/score/cpu.h
+++ b/cpukit/score/cpu/i386/rtems/score/cpu.h
@@ -327,7 +327,7 @@ typedef enum {
/* variables */
-SCORE_EXTERN Context_Control_fp _CPU_Null_fp_context;
+extern Context_Control_fp _CPU_Null_fp_context;
#endif /* ASM */
More information about the vc
mailing list