diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1997-04-07 21:22:15 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1997-04-07 21:22:15 +0000 |
commit | 12d6f1418a214d5ecc017a594d58df7cb198c6f0 (patch) | |
tree | 6af28270644fdc51440bfe3c1912906ff3dfc740 /c/src | |
parent | added volatile to Switch_necessary structure member to avoid warning. (diff) | |
download | rtems-12d6f1418a214d5ecc017a594d58df7cb198c6f0.tar.bz2 |
added "ifndef" to avoid redefinition warning.
Diffstat (limited to '')
-rw-r--r-- | c/src/exec/score/cpu/m68k/asm.h | 2 | ||||
-rw-r--r-- | c/src/exec/score/cpu/sparc/asm.h | 2 |
2 files changed, 4 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> |