mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 06:45:56 +08:00
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:
@ -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. */
|
||||
|
Reference in New Issue
Block a user