From patchwork Thu Oct 22 14:36:25 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [12/20] c4231a: remove IO_WRITE_PROTO From: Juan Quintela X-Patchwork-Id: 36686 Message-Id: To: qemu-devel@nongnu.org Date: Thu, 22 Oct 2009 16:36:25 +0200 Signed-off-by: Juan Quintela --- hw/cs4231a.c | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/hw/cs4231a.c b/hw/cs4231a.c index 8a91b29..a077edc 100644 --- a/hw/cs4231a.c +++ b/hw/cs4231a.c @@ -74,9 +74,6 @@ typedef struct CSState { int16_t *tab; } CSState; -#define IO_WRITE_PROTO(name) \ - static void name (void *opaque, uint32_t addr, uint32_t val) - #define GET_SADDR(addr) (addr & 3) #define MODE2 (1 << 6) @@ -387,7 +384,7 @@ static uint32_t cs_read (void *opaque, uint32_t addr) return ret; } -IO_WRITE_PROTO (cs_write) +static void cs_write (void *opaque, uint32_t addr, uint32_t val) { CSState *s = opaque; uint32_t saddr, iaddr;