diff mbox

[10/20] adlib: remove IO_WRITE_PROTO

Message ID f573c79d6a91f4ce29cd85954543e8d422d938b2.1256221008.git.quintela@redhat.com
State New
Headers show

Commit Message

Juan Quintela Oct. 22, 2009, 2:36 p.m. UTC
Signed-off-by: Juan Quintela <quintela@redhat.com>
---
 hw/adlib.c |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

Comments

malc Oct. 22, 2009, 8:34 p.m. UTC | #1
On Thu, 22 Oct 2009, Juan Quintela wrote:

No.
[..snip..]
diff mbox

Patch

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;