mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
Make CPURead/WriteFunc structure 'const'
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
fa31af0e63
commit
d60efc6b0d
144 changed files with 1552 additions and 554 deletions
|
@ -351,13 +351,13 @@ static void sh_serial_write (void *opaque,
|
|||
sh_serial_ioport_write(s, addr, value);
|
||||
}
|
||||
|
||||
static CPUReadMemoryFunc *sh_serial_readfn[] = {
|
||||
static CPUReadMemoryFunc * const sh_serial_readfn[] = {
|
||||
&sh_serial_read,
|
||||
&sh_serial_read,
|
||||
&sh_serial_read,
|
||||
};
|
||||
|
||||
static CPUWriteMemoryFunc *sh_serial_writefn[] = {
|
||||
static CPUWriteMemoryFunc * const sh_serial_writefn[] = {
|
||||
&sh_serial_write,
|
||||
&sh_serial_write,
|
||||
&sh_serial_write,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue