diff options
author | Andrew Burgess <andrew.burgess@embecosm.com> | 2021-01-28 17:24:45 +0000 |
---|---|---|
committer | Andrew Burgess <andrew.burgess@embecosm.com> | 2021-02-08 11:01:07 +0000 |
commit | 1c3e93a41f88703818999ed492699de26b0748cd (patch) | |
tree | e682e34b11aeb7e3b3c681bd204b17915cba399d /sim/rx/mem.c | |
parent | 93a01471f3df559fffc567247288b3301620c4d7 (diff) | |
download | fsf-binutils-gdb-1c3e93a41f88703818999ed492699de26b0748cd.zip fsf-binutils-gdb-1c3e93a41f88703818999ed492699de26b0748cd.tar.gz fsf-binutils-gdb-1c3e93a41f88703818999ed492699de26b0748cd.tar.bz2 |
sim/rx: fill in missing 'void' for empty argument lists
Ensure we have 'void' inside empty argument lists. This was causing
several warnings for the rx simulator.
sim/rx/ChangeLog:
* cpu.h (trace_register_changes): Add void parameter type.
* err.c (ee_overrides): Likewise.
* mem.c (mem_usage_stats): Likewise.
(e): Likewise.
* reg.c (stack_heap_stats): Likewise.
* rx.c (pop): Likewise.
(poppc): Likewise.
(decode_opcode): Likewise.
* syscalls.c (arg): Likewise.
Diffstat (limited to 'sim/rx/mem.c')
-rw-r--r-- | sim/rx/mem.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/rx/mem.c b/sim/rx/mem.c index 40ab0bd..7fbf08e 100644 --- a/sim/rx/mem.c +++ b/sim/rx/mem.c @@ -161,7 +161,7 @@ mcs (int isput, int bytes) } void -mem_usage_stats () +mem_usage_stats (void) { int i, j; int rstart = 0; @@ -244,7 +244,7 @@ s (int address, char *dir) #define S(d) if (trace) s(address, d) static void -e () +e (void) { if (!trace) return; |