mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03: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
|
@ -162,13 +162,13 @@ static void syborg_timer_write(void *opaque, target_phys_addr_t offset,
|
|||
}
|
||||
}
|
||||
|
||||
static CPUReadMemoryFunc *syborg_timer_readfn[] = {
|
||||
static CPUReadMemoryFunc * const syborg_timer_readfn[] = {
|
||||
syborg_timer_read,
|
||||
syborg_timer_read,
|
||||
syborg_timer_read
|
||||
};
|
||||
|
||||
static CPUWriteMemoryFunc *syborg_timer_writefn[] = {
|
||||
static CPUWriteMemoryFunc * const syborg_timer_writefn[] = {
|
||||
syborg_timer_write,
|
||||
syborg_timer_write,
|
||||
syborg_timer_write
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue