]> git.proxmox.com Git - qemu.git/blobdiff - hw/zaurus.c
Make CPURead/WriteFunc structure 'const'
[qemu.git] / hw / zaurus.c
index 78a120c9d09b9de26f4b539c3f2864174334490a..db6ba75cedd6f7382d79b5821d5329bfbdf0e59f 100644 (file)
@@ -142,12 +142,12 @@ static void scoop_writeb(void *opaque, target_phys_addr_t addr, uint32_t value)
     }
 }
 
-static CPUReadMemoryFunc *scoop_readfn[] = {
+static CPUReadMemoryFunc * const scoop_readfn[] = {
     scoop_readb,
     scoop_readb,
     scoop_readb,
 };
-static CPUWriteMemoryFunc *scoop_writefn[] = {
+static CPUWriteMemoryFunc * const scoop_writefn[] = {
     scoop_writeb,
     scoop_writeb,
     scoop_writeb,