From patchwork Thu Oct 22 14:36:22 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [09/20] adlib: remove IO_READ_PROTO Date: Thu, 22 Oct 2009 04:36:22 -0000 From: Juan Quintela X-Patchwork-Id: 36681 Message-Id: To: qemu-devel@nongnu.org Signed-off-by: Juan Quintela --- hw/adlib.c | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/hw/adlib.c b/hw/adlib.c index 1d8092b..3221fea 100644 --- a/hw/adlib.c +++ b/hw/adlib.c @@ -51,8 +51,6 @@ void YMF262UpdateOneQEMU (int which, INT16 *dst, int length); #define SHIFT 1 #endif -#define IO_READ_PROTO(name) \ - uint32_t name (void *opaque, uint32_t nport) #define IO_WRITE_PROTO(name) \ void name (void *opaque, uint32_t nport, uint32_t val) @@ -133,7 +131,7 @@ static IO_WRITE_PROTO (adlib_write) #endif } -static IO_READ_PROTO (adlib_read) +static uint32_t adlib_read (void *opaque, uint32_t nport) { AdlibState *s = opaque; uint8_t data;