diff options
author | Nick Clifton <nickc@redhat.com> | 2000-02-08 20:54:27 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2000-02-08 20:54:27 +0000 |
commit | 6d358e869b1efe22fa6697a8aa4191ddacbacef0 (patch) | |
tree | 8e46af77cc6bd1e1f07b560c31b7cdf0fbbffab9 /sim/arm/armvirt.c | |
parent | ab266a97fb888efa38e7cdc1d53b6c97337b589f (diff) | |
download | gdb-6d358e869b1efe22fa6697a8aa4191ddacbacef0.zip gdb-6d358e869b1efe22fa6697a8aa4191ddacbacef0.tar.gz gdb-6d358e869b1efe22fa6697a8aa4191ddacbacef0.tar.bz2 |
Fix compile time warning messages.
Diffstat (limited to 'sim/arm/armvirt.c')
-rw-r--r-- | sim/arm/armvirt.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sim/arm/armvirt.c b/sim/arm/armvirt.c index ffcebd2..38f0083 100644 --- a/sim/arm/armvirt.c +++ b/sim/arm/armvirt.c @@ -25,6 +25,7 @@ defined to generate aborts. */ #include "armopts.h" #include "armdefs.h" +#include "ansidecl.h" #ifdef VALIDATE /* for running the validate suite */ #define TUBE 48 * 1024 * 1024 /* write a char on the screen */ @@ -462,7 +463,7 @@ ARMword ARMul_SwapByte (ARMul_State * state, ARMword address, ARMword data) \***************************************************************************/ void -ARMul_Icycles (ARMul_State * state, unsigned number, ARMword address) +ARMul_Icycles (ARMul_State * state, unsigned number, ARMword address ATTRIBUTE_UNUSED) { state->NumIcycles += number; ARMul_CLEARABORT; @@ -473,7 +474,7 @@ ARMul_Icycles (ARMul_State * state, unsigned number, ARMword address) \***************************************************************************/ void -ARMul_Ccycles (ARMul_State * state, unsigned number, ARMword address) +ARMul_Ccycles (ARMul_State * state, unsigned number, ARMword address ATTRIBUTE_UNUSED) { state->NumCcycles += number; ARMul_CLEARABORT; |