mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53: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
|
@ -318,13 +318,13 @@ static void pxa2xx_timer_write(void *opaque, target_phys_addr_t offset,
|
|||
}
|
||||
}
|
||||
|
||||
static CPUReadMemoryFunc *pxa2xx_timer_readfn[] = {
|
||||
static CPUReadMemoryFunc * const pxa2xx_timer_readfn[] = {
|
||||
pxa2xx_timer_read,
|
||||
pxa2xx_timer_read,
|
||||
pxa2xx_timer_read,
|
||||
};
|
||||
|
||||
static CPUWriteMemoryFunc *pxa2xx_timer_writefn[] = {
|
||||
static CPUWriteMemoryFunc * const pxa2xx_timer_writefn[] = {
|
||||
pxa2xx_timer_write,
|
||||
pxa2xx_timer_write,
|
||||
pxa2xx_timer_write,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue