On 10/25/2010 02:54 PM, Juan Quintela wrote:
Avi Kivity<a...@redhat.com>  wrote:

>  +static void ioport_writeb_thunk(void *opaque, uint32_t addr, uint32_t data)
>  +{
>  +    IOPort *ioport = opaque;
>  +
>  +    return ioport->ops->writeb(ioport, addr, data);
>  +}
>  +
>  +static void ioport_writew_thunk(void *opaque, uint32_t addr, uint32_t data)
>  +{
>  +    IOPort *ioport = opaque;
>  +
>  +    return ioport->ops->writew(ioport, addr, data);
>  +}
>  +
>  +static void ioport_writel_thunk(void *opaque, uint32_t addr, uint32_t data)
>  +{
>  +    IOPort *ioport = opaque;
>  +
>  +    return ioport->ops->writel(ioport, addr, data);
>  +}

"return" is not needed on this three functions.


Fixed.

--
error compiling committee.c: too many arguments to function


Reply via email to