Signed-off-by: Juan Quintela <quint...@redhat.com> --- hw/sb16.c | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/hw/sb16.c b/hw/sb16.c index 8654b7d..f4f96d1 100644 --- a/hw/sb16.c +++ b/hw/sb16.c @@ -40,8 +40,6 @@ #define ldebug(...) #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) @@ -961,7 +959,7 @@ static IO_WRITE_PROTO (dsp_write) } } -static IO_READ_PROTO (dsp_read) +static uint32_t dsp_read (void *opaque, uint32_t nport) { SB16State *s = opaque; int iport, retval, ack = 0; @@ -1129,7 +1127,7 @@ static IO_WRITE_PROTO (mixer_write_indexw) mixer_write_datab (opaque, nport, (val >> 8) & 0xff); } -static IO_READ_PROTO (mixer_read) +static uint32_t mixer_read (void *opaque, uint32_t nport) { SB16State *s = opaque; -- 1.6.2.5