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 /cpukit/score/cpu/sparc | |
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 'cpukit/score/cpu/sparc')
-rw-r--r-- | cpukit/score/cpu/sparc/asm.h | 2 | ||||
-rw-r--r-- | cpukit/score/cpu/sparc/rtems/asm.h | 2 |
2 files changed, 4 insertions, 0 deletions
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> |