aboutsummaryrefslogtreecommitdiff
path: root/sim/m32c/mem.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-04-01 02:21:21 -0400
committerMike Frysinger <vapier@gentoo.org>2015-04-01 02:22:58 -0400
commit269e9c185f67d477a99574f53ead904d50fddfda (patch)
tree0177a3d3718cc79c55ae0ff07d9d4d974397800d /sim/m32c/mem.h
parent0fe84f3fbe9a740c38a8dbaa0150b8e4c25c69dd (diff)
downloadbinutils-269e9c185f67d477a99574f53ead904d50fddfda.zip
binutils-269e9c185f67d477a99574f53ead904d50fddfda.tar.gz
binutils-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/mem.h')
-rw-r--r--sim/m32c/mem.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/m32c/mem.h b/sim/m32c/mem.h
index f79426f..6d804b1 100644
--- a/sim/m32c/mem.h
+++ b/sim/m32c/mem.h
@@ -29,7 +29,7 @@ void mem_put_si (int address, unsigned long value);
void mem_put_blk (int address, const void *bufptr, int nbytes);
-unsigned char mem_get_pc ();
+unsigned char mem_get_pc (void);
unsigned char mem_get_qi (int address);
unsigned short mem_get_hi (int address);
@@ -40,6 +40,6 @@ void mem_get_blk (int address, void *bufptr, int nbytes);
int sign_ext (int v, int bits);
-void m32c_sim_restore_console ();
+void m32c_sim_restore_console (void);
extern int m32c_use_raw_console;