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.
This commit is contained in:
Mike Frysinger
2015-04-01 02:21:21 -04:00
parent 0fe84f3fbe
commit 269e9c185f
16 changed files with 208 additions and 54 deletions

View File

@@ -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;