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
|
@ -127,13 +127,13 @@ static void mcf_intc_reset(mcf_intc_state *s)
|
|||
s->active_vector = 24;
|
||||
}
|
||||
|
||||
static CPUReadMemoryFunc *mcf_intc_readfn[] = {
|
||||
static CPUReadMemoryFunc * const mcf_intc_readfn[] = {
|
||||
mcf_intc_read,
|
||||
mcf_intc_read,
|
||||
mcf_intc_read
|
||||
};
|
||||
|
||||
static CPUWriteMemoryFunc *mcf_intc_writefn[] = {
|
||||
static CPUWriteMemoryFunc * const mcf_intc_writefn[] = {
|
||||
mcf_intc_write,
|
||||
mcf_intc_write,
|
||||
mcf_intc_write
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue