mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43: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
|
@ -303,13 +303,13 @@ static void stellaris_enet_write(void *opaque, target_phys_addr_t offset,
|
|||
}
|
||||
}
|
||||
|
||||
static CPUReadMemoryFunc *stellaris_enet_readfn[] = {
|
||||
static CPUReadMemoryFunc * const stellaris_enet_readfn[] = {
|
||||
stellaris_enet_read,
|
||||
stellaris_enet_read,
|
||||
stellaris_enet_read
|
||||
};
|
||||
|
||||
static CPUWriteMemoryFunc *stellaris_enet_writefn[] = {
|
||||
static CPUWriteMemoryFunc * const stellaris_enet_writefn[] = {
|
||||
stellaris_enet_write,
|
||||
stellaris_enet_write,
|
||||
stellaris_enet_write
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue