summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1997-04-07 21:22:15 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1997-04-07 21:22:15 +0000
commit12d6f1418a214d5ecc017a594d58df7cb198c6f0 (patch)
tree6af28270644fdc51440bfe3c1912906ff3dfc740
parent424ab48994dae9f9665401e9c5aff00efda7ed92 (diff)
downloadrtems-12d6f1418a214d5ecc017a594d58df7cb198c6f0.tar.bz2
added "ifndef" to avoid redefinition warning.
-rw-r--r--c/src/exec/score/cpu/m68k/asm.h2
-rw-r--r--c/src/exec/score/cpu/sparc/asm.h2
-rw-r--r--cpukit/score/cpu/m68k/asm.h2
-rw-r--r--cpukit/score/cpu/m68k/rtems/asm.h2
-rw-r--r--cpukit/score/cpu/sparc/asm.h2
-rw-r--r--cpukit/score/cpu/sparc/rtems/asm.h2
6 files changed, 12 insertions, 0 deletions
diff --git a/c/src/exec/score/cpu/m68k/asm.h b/c/src/exec/score/cpu/m68k/asm.h
index fda93d9528..1f2a647947 100644
--- a/c/src/exec/score/cpu/m68k/asm.h
+++ b/c/src/exec/score/cpu/m68k/asm.h
@@ -30,7 +30,9 @@
* Indicate we are in an assembly file and get the basic CPU definitions.
*/
+#ifndef ASM
#define ASM
+#endif
#include <rtems/score/targopts.h>
#include <rtems/score/cpu.h>
diff --git a/c/src/exec/score/cpu/sparc/asm.h b/c/src/exec/score/cpu/sparc/asm.h
index 22c8365b88..b9a3aabeea 100644
--- a/c/src/exec/score/cpu/sparc/asm.h
+++ b/c/src/exec/score/cpu/sparc/asm.h
@@ -27,7 +27,9 @@
* Indicate we are in an assembly file and get the basic CPU definitions.
*/
+#ifndef ASM
#define ASM
+#endif
#include <rtems/score/targopts.h>
#include <rtems/score/cpu.h>
diff --git a/cpukit/score/cpu/m68k/asm.h b/cpukit/score/cpu/m68k/asm.h
index fda93d9528..1f2a647947 100644
--- a/cpukit/score/cpu/m68k/asm.h
+++ b/cpukit/score/cpu/m68k/asm.h
@@ -30,7 +30,9 @@
* Indicate we are in an assembly file and get the basic CPU definitions.
*/
+#ifndef ASM
#define ASM
+#endif
#include <rtems/score/targopts.h>
#include <rtems/score/cpu.h>
diff --git a/cpukit/score/cpu/m68k/rtems/asm.h b/cpukit/score/cpu/m68k/rtems/asm.h
index fda93d9528..1f2a647947 100644
--- a/cpukit/score/cpu/m68k/rtems/asm.h
+++ b/cpukit/score/cpu/m68k/rtems/asm.h
@@ -30,7 +30,9 @@
* Indicate we are in an assembly file and get the basic CPU definitions.
*/
+#ifndef ASM
#define ASM
+#endif
#include <rtems/score/targopts.h>
#include <rtems/score/cpu.h>
diff --git a/cpukit/score/cpu/sparc/asm.h b/cpukit/score/cpu/sparc/asm.h
index 22c8365b88..b9a3aabeea 100644
--- a/cpukit/score/cpu/sparc/asm.h
+++ b/cpukit/score/cpu/sparc/asm.h
@@ -27,7 +27,9 @@
* Indicate we are in an assembly file and get the basic CPU definitions.
*/
+#ifndef ASM
#define ASM
+#endif
#include <rtems/score/targopts.h>
#include <rtems/score/cpu.h>
diff --git a/cpukit/score/cpu/sparc/rtems/asm.h b/cpukit/score/cpu/sparc/rtems/asm.h
index 22c8365b88..b9a3aabeea 100644
--- a/cpukit/score/cpu/sparc/rtems/asm.h
+++ b/cpukit/score/cpu/sparc/rtems/asm.h
@@ -27,7 +27,9 @@
* Indicate we are in an assembly file and get the basic CPU definitions.
*/
+#ifndef ASM
#define ASM
+#endif
#include <rtems/score/targopts.h>
#include <rtems/score/cpu.h>