diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-04-01 02:21:21 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-04-01 02:22:58 -0400 |
commit | 269e9c185f67d477a99574f53ead904d50fddfda (patch) | |
tree | 0177a3d3718cc79c55ae0ff07d9d4d974397800d /sim/m32c/r8c.opc | |
parent | 0fe84f3fbe9a740c38a8dbaa0150b8e4c25c69dd (diff) | |
download | gdb-269e9c185f67d477a99574f53ead904d50fddfda.zip gdb-269e9c185f67d477a99574f53ead904d50fddfda.tar.gz gdb-269e9c185f67d477a99574f53ead904d50fddfda.tar.bz2 |
sim: m32c: enable warnings & clean up a bunch
This doesn't clean up all the warnings, just most of them.
The ones that are left will require some care to unravel.
Diffstat (limited to 'sim/m32c/r8c.opc')
-rw-r--r-- | sim/m32c/r8c.opc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sim/m32c/r8c.opc b/sim/m32c/r8c.opc index b4a4f6d..34f0af4 100644 --- a/sim/m32c/r8c.opc +++ b/sim/m32c/r8c.opc @@ -32,7 +32,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ #define tprintf if (trace) printf static unsigned char -getbyte () +getbyte (void) { int tsave = trace; unsigned char b; @@ -77,7 +77,7 @@ unsupported (char *tag, int orig_pc) } static int -IMM(bw) +IMM (int bw) { int rv = getbyte (); if (bw) @@ -306,7 +306,7 @@ static int bmcnd_cond_map[] = { }; int -decode_r8c() +decode_r8c (void) { unsigned char op[40]; int opi = 0; |