qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 6/9] qxl: cleanup s/__FUNCTION__/__func__/


From: Andreas Färber
Subject: Re: [Qemu-devel] [PATCH 6/9] qxl: cleanup s/__FUNCTION__/__func__/
Date: Thu, 26 Apr 2012 10:18:36 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120328 Thunderbird/11.0.1

Am 25.04.2012 11:13, schrieb Alon Levy:
> Signed-off-by: Alon Levy <address@hidden>
> ---
>  hw/qxl.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/hw/qxl.c b/hw/qxl.c
> index 44a4c9b..6e7232c 100644
> --- a/hw/qxl.c
> +++ b/hw/qxl.c
> @@ -1503,7 +1503,7 @@ static void qxl_send_events(PCIQXLDevice *d, uint32_t 
> events)
>          qxl_update_irq(d);
>      } else {
>          if (write(d->pipe[1], d, 1) != 1) {
> -            dprint(d, 1, "%s: write to pipe failed\n", __FUNCTION__);
> +            dprint(d, 1, "%s: write to pipe failed\n", __func__);
>          }
>      }
>  }

If you have some spare time, you could do this all over the code base.
While not wrong in gcc, it invites people to copy from the old examples.

Andreas

-- 
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg



reply via email to

[Prev in Thread] Current Thread [Next in Thread]