aboutsummaryrefslogtreecommitdiff
path: root/sim/arm/armsupp.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-03-30 02:41:51 -0400
committerMike Frysinger <vapier@gentoo.org>2015-03-30 12:58:23 -0400
commit58b991b14e7c2e26805cb8cf98e384dbd8afcd38 (patch)
tree5f47f233d3ed98a10615cc120269d971bb2afd8d /sim/arm/armsupp.c
parentc4c9c44f57763ef4acacb440cdf601f5ce087edb (diff)
downloadgdb-58b991b14e7c2e26805cb8cf98e384dbd8afcd38.zip
gdb-58b991b14e7c2e26805cb8cf98e384dbd8afcd38.tar.gz
gdb-58b991b14e7c2e26805cb8cf98e384dbd8afcd38.tar.bz2
sim: arm: clean up misc warnings
Also delete a few unused funcs.
Diffstat (limited to 'sim/arm/armsupp.c')
-rw-r--r--sim/arm/armsupp.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sim/arm/armsupp.c b/sim/arm/armsupp.c
index e2bac55..113f080 100644
--- a/sim/arm/armsupp.c
+++ b/sim/arm/armsupp.c
@@ -736,10 +736,7 @@ IntPending (ARMul_State * state)
/* Align a word access to a non word boundary. */
ARMword
-ARMul_Align (state, address, data)
- ARMul_State * state ATTRIBUTE_UNUSED;
- ARMword address;
- ARMword data;
+ARMul_Align (ARMul_State *state ATTRIBUTE_UNUSED, ARMword address, ARMword data)
{
/* This code assumes the address is really unaligned,
as a shift by 32 is undefined in C. */