summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/m68k
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 /cpukit/score/cpu/m68k
parentadded volatile to Switch_necessary structure member to avoid warning. (diff)
downloadrtems-12d6f1418a214d5ecc017a594d58df7cb198c6f0.tar.bz2
added "ifndef" to avoid redefinition warning.
Diffstat (limited to 'cpukit/score/cpu/m68k')
-rw-r--r--cpukit/score/cpu/m68k/asm.h2
-rw-r--r--cpukit/score/cpu/m68k/rtems/asm.h2
2 files changed, 4 insertions, 0 deletions
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>