mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -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
|
@ -90,13 +90,13 @@ static void syborg_rtc_write(void *opaque, target_phys_addr_t offset, uint32_t v
|
|||
}
|
||||
}
|
||||
|
||||
static CPUReadMemoryFunc *syborg_rtc_readfn[] = {
|
||||
static CPUReadMemoryFunc * const syborg_rtc_readfn[] = {
|
||||
syborg_rtc_read,
|
||||
syborg_rtc_read,
|
||||
syborg_rtc_read
|
||||
};
|
||||
|
||||
static CPUWriteMemoryFunc *syborg_rtc_writefn[] = {
|
||||
static CPUWriteMemoryFunc * const syborg_rtc_writefn[] = {
|
||||
syborg_rtc_write,
|
||||
syborg_rtc_write,
|
||||
syborg_rtc_write
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue