From patchwork Thu Oct 22 14:36:24 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [11/20] c4231a: remove IO_READ_PROTO From: Juan Quintela X-Patchwork-Id: 36683 Message-Id: <18041b9c0165a2c2c0a2a0bb3d4aa994b42d3591.1256221008.git.quintela@redhat.com> To: qemu-devel@nongnu.org Date: Thu, 22 Oct 2009 16:36:24 +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 e03c5d2..8a91b29 100644 --- a/hw/cs4231a.c +++ b/hw/cs4231a.c @@ -74,9 +74,6 @@ typedef struct CSState { int16_t *tab; } CSState; -#define IO_READ_PROTO(name) \ - static uint32_t name (void *opaque, uint32_t addr) - #define IO_WRITE_PROTO(name) \ static void name (void *opaque, uint32_t addr, uint32_t val) @@ -353,7 +350,7 @@ static void cs_reset_voices (CSState *s, uint32_t val) } } -IO_READ_PROTO (cs_read) +static uint32_t cs_read (void *opaque, uint32_t addr) { CSState *s = opaque; uint32_t saddr, iaddr, ret;