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/wdt_i6300esb.c | |
parent | fa31af0e63c5629d0bdc63eb87c1e44abd4fdb9e (diff) | |
download | qemu-d60efc6b0d3d4e90cbbb86e21451e55263c29416.zip qemu-d60efc6b0d3d4e90cbbb86e21451e55263c29416.tar.gz qemu-d60efc6b0d3d4e90cbbb86e21451e55263c29416.tar.bz2 |
Make CPURead/WriteFunc structure 'const'
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/wdt_i6300esb.c')
-rw-r--r-- | hw/wdt_i6300esb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/wdt_i6300esb.c b/hw/wdt_i6300esb.c index 5e9fd7c..6a3bdb4 100644 --- a/hw/wdt_i6300esb.c +++ b/hw/wdt_i6300esb.c @@ -351,12 +351,12 @@ static void i6300esb_mem_writel(void *vp, target_phys_addr_t addr, uint32_t val) static void i6300esb_map(PCIDevice *dev, int region_num, uint32_t addr, uint32_t size, int type) { - static CPUReadMemoryFunc *mem_read[3] = { + static CPUReadMemoryFunc * const mem_read[3] = { i6300esb_mem_readb, i6300esb_mem_readw, i6300esb_mem_readl, }; - static CPUWriteMemoryFunc *mem_write[3] = { + static CPUWriteMemoryFunc * const mem_write[3] = { i6300esb_mem_writeb, i6300esb_mem_writew, i6300esb_mem_writel, |