summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1997-04-07 21:20:35 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1997-04-07 21:20:35 +0000
commit2ff1d5498e9616a2c9764d40ebad80c7207c4d13 (patch)
treee1b5f79b858fe466381afdcd4c88cbbf5879c103
parentadded prototypes for two assembly language routines to eliminate warnings. (diff)
downloadrtems-2ff1d5498e9616a2c9764d40ebad80c7207c4d13.tar.bz2
added "ifndef" to avoid redefinition warning
-rw-r--r--c/src/exec/score/cpu/i386/asm.h2
-rw-r--r--c/src/exec/score/cpu/i960/asm.h2
-rw-r--r--c/src/exec/score/cpu/mips/asm.h2
-rw-r--r--c/src/exec/score/cpu/mips64orion/asm.h2
-rw-r--r--c/src/exec/score/cpu/no_cpu/asm.h2
-rw-r--r--cpukit/score/cpu/i386/asm.h2
-rw-r--r--cpukit/score/cpu/i386/rtems/asm.h2
-rw-r--r--cpukit/score/cpu/i960/asm.h2
-rw-r--r--cpukit/score/cpu/mips/asm.h2
-rw-r--r--cpukit/score/cpu/mips/rtems/asm.h2
-rw-r--r--cpukit/score/cpu/mips64orion/asm.h2
-rw-r--r--cpukit/score/cpu/no_cpu/asm.h2
-rw-r--r--cpukit/score/cpu/no_cpu/rtems/asm.h2
13 files changed, 26 insertions, 0 deletions
diff --git a/c/src/exec/score/cpu/i386/asm.h b/c/src/exec/score/cpu/i386/asm.h
index adf4e2c63d..cfb17b9029 100644
--- a/c/src/exec/score/cpu/i386/asm.h
+++ b/c/src/exec/score/cpu/i386/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/i386.h>
diff --git a/c/src/exec/score/cpu/i960/asm.h b/c/src/exec/score/cpu/i960/asm.h
index 8a84527ee8..6b9c67c200 100644
--- a/c/src/exec/score/cpu/i960/asm.h
+++ b/c/src/exec/score/cpu/i960/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/i960.h>
diff --git a/c/src/exec/score/cpu/mips/asm.h b/c/src/exec/score/cpu/mips/asm.h
index 2382754654..4d00643294 100644
--- a/c/src/exec/score/cpu/mips/asm.h
+++ b/c/src/exec/score/cpu/mips/asm.h
@@ -31,7 +31,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/no_cpu.h>
diff --git a/c/src/exec/score/cpu/mips64orion/asm.h b/c/src/exec/score/cpu/mips64orion/asm.h
index 2382754654..4d00643294 100644
--- a/c/src/exec/score/cpu/mips64orion/asm.h
+++ b/c/src/exec/score/cpu/mips64orion/asm.h
@@ -31,7 +31,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/no_cpu.h>
diff --git a/c/src/exec/score/cpu/no_cpu/asm.h b/c/src/exec/score/cpu/no_cpu/asm.h
index 6b386d4106..8678b3a632 100644
--- a/c/src/exec/score/cpu/no_cpu/asm.h
+++ b/c/src/exec/score/cpu/no_cpu/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/no_cpu.h>
diff --git a/cpukit/score/cpu/i386/asm.h b/cpukit/score/cpu/i386/asm.h
index adf4e2c63d..cfb17b9029 100644
--- a/cpukit/score/cpu/i386/asm.h
+++ b/cpukit/score/cpu/i386/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/i386.h>
diff --git a/cpukit/score/cpu/i386/rtems/asm.h b/cpukit/score/cpu/i386/rtems/asm.h
index adf4e2c63d..cfb17b9029 100644
--- a/cpukit/score/cpu/i386/rtems/asm.h
+++ b/cpukit/score/cpu/i386/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/i386.h>
diff --git a/cpukit/score/cpu/i960/asm.h b/cpukit/score/cpu/i960/asm.h
index 8a84527ee8..6b9c67c200 100644
--- a/cpukit/score/cpu/i960/asm.h
+++ b/cpukit/score/cpu/i960/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/i960.h>
diff --git a/cpukit/score/cpu/mips/asm.h b/cpukit/score/cpu/mips/asm.h
index 2382754654..4d00643294 100644
--- a/cpukit/score/cpu/mips/asm.h
+++ b/cpukit/score/cpu/mips/asm.h
@@ -31,7 +31,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/no_cpu.h>
diff --git a/cpukit/score/cpu/mips/rtems/asm.h b/cpukit/score/cpu/mips/rtems/asm.h
index 2382754654..4d00643294 100644
--- a/cpukit/score/cpu/mips/rtems/asm.h
+++ b/cpukit/score/cpu/mips/rtems/asm.h
@@ -31,7 +31,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/no_cpu.h>
diff --git a/cpukit/score/cpu/mips64orion/asm.h b/cpukit/score/cpu/mips64orion/asm.h
index 2382754654..4d00643294 100644
--- a/cpukit/score/cpu/mips64orion/asm.h
+++ b/cpukit/score/cpu/mips64orion/asm.h
@@ -31,7 +31,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/no_cpu.h>
diff --git a/cpukit/score/cpu/no_cpu/asm.h b/cpukit/score/cpu/no_cpu/asm.h
index 6b386d4106..8678b3a632 100644
--- a/cpukit/score/cpu/no_cpu/asm.h
+++ b/cpukit/score/cpu/no_cpu/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/no_cpu.h>
diff --git a/cpukit/score/cpu/no_cpu/rtems/asm.h b/cpukit/score/cpu/no_cpu/rtems/asm.h
index 6b386d4106..8678b3a632 100644
--- a/cpukit/score/cpu/no_cpu/rtems/asm.h
+++ b/cpukit/score/cpu/no_cpu/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/no_cpu.h>