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.
This commit is contained in:
Andrew Burgess
2021-01-28 17:24:45 +00:00
parent 93a01471f3
commit 1c3e93a41f
7 changed files with 21 additions and 9 deletions

View File

@ -28,7 +28,7 @@ static unsigned char ee_actions[SIM_ERR_NUM_ERRORS];
static enum execution_error last_error;
static void
ee_overrides ()
ee_overrides (void)
{
/* GCC may initialize a bitfield by reading the uninitialized byte,
masking in the bitfield, and writing the byte back out. */