Signed-off-by: Juan Quintela <quint...@redhat.com> --- 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