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