qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 09/20] adlib: remove IO_READ_PROTO


From: Juan Quintela
Subject: [Qemu-devel] [PATCH 09/20] adlib: remove IO_READ_PROTO
Date: Thu, 22 Oct 2009 16:36:22 +0200

Signed-off-by: Juan Quintela <address@hidden>
---
 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;
-- 
1.6.2.5





reply via email to

[Prev in Thread] Current Thread [Next in Thread]