diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2009-08-25 18:29:31 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2009-08-25 18:29:31 +0000 |
commit | d60efc6b0d3d4e90cbbb86e21451e55263c29416 (patch) | |
tree | d5167171d11fa8e54f0ff11fae42c77cfac5af4a /hw/sm501.c | |
parent | target-mips: fix conditional moves off fp condition codes (diff) | |
download | qemu-kvm-d60efc6b0d3d4e90cbbb86e21451e55263c29416.tar.gz qemu-kvm-d60efc6b0d3d4e90cbbb86e21451e55263c29416.tar.bz2 qemu-kvm-d60efc6b0d3d4e90cbbb86e21451e55263c29416.zip |
Make CPURead/WriteFunc structure 'const'
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/sm501.c')
-rw-r--r-- | hw/sm501.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/hw/sm501.c b/hw/sm501.c index df40aaa1f..fc34a99f9 100644 --- a/hw/sm501.c +++ b/hw/sm501.c @@ -626,13 +626,13 @@ static void sm501_system_config_write(void *opaque, } } -static CPUReadMemoryFunc *sm501_system_config_readfn[] = { +static CPUReadMemoryFunc * const sm501_system_config_readfn[] = { NULL, NULL, &sm501_system_config_read, }; -static CPUWriteMemoryFunc *sm501_system_config_writefn[] = { +static CPUWriteMemoryFunc * const sm501_system_config_writefn[] = { NULL, NULL, &sm501_system_config_write, @@ -864,13 +864,13 @@ static void sm501_disp_ctrl_write(void *opaque, } } -static CPUReadMemoryFunc *sm501_disp_ctrl_readfn[] = { +static CPUReadMemoryFunc * const sm501_disp_ctrl_readfn[] = { NULL, NULL, &sm501_disp_ctrl_read, }; -static CPUWriteMemoryFunc *sm501_disp_ctrl_writefn[] = { +static CPUWriteMemoryFunc * const sm501_disp_ctrl_writefn[] = { NULL, NULL, &sm501_disp_ctrl_write, |