From d60efc6b0d3d4e90cbbb86e21451e55263c29416 Mon Sep 17 00:00:00 2001 From: Blue Swirl Date: Tue, 25 Aug 2009 18:29:31 +0000 Subject: Make CPURead/WriteFunc structure 'const' Signed-off-by: Blue Swirl --- hw/pckbd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hw/pckbd.c') diff --git a/hw/pckbd.c b/hw/pckbd.c index bb4cc0e9db..6d97e33c04 100644 --- a/hw/pckbd.c +++ b/hw/pckbd.c @@ -405,13 +405,13 @@ static void kbd_mm_writeb (void *opaque, target_phys_addr_t addr, uint32_t value kbd_write_data(s, 0, value & 0xff); } -static CPUReadMemoryFunc *kbd_mm_read[] = { +static CPUReadMemoryFunc * const kbd_mm_read[] = { &kbd_mm_readb, &kbd_mm_readb, &kbd_mm_readb, }; -static CPUWriteMemoryFunc *kbd_mm_write[] = { +static CPUWriteMemoryFunc * const kbd_mm_write[] = { &kbd_mm_writeb, &kbd_mm_writeb, &kbd_mm_writeb, -- cgit v1.2.3