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