qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH 10/20] adlib: remove IO_WRITE_PROTO


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

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





reply via email to

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