[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] Fix tosa_dac_recv warning
From: |
Aurelien Jarno |
Subject: |
Re: [Qemu-devel] [PATCH] Fix tosa_dac_recv warning |
Date: |
Sat, 7 Feb 2009 16:21:04 +0100 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Mon, Jan 26, 2009 at 05:56:12PM -0800, Nathan Froyd wrote:
> This patch fixes:
>
> /scratch/froydnj/qemu.git/hw/tosa.c:176: warning: no previous prototype for
> 'tosa_dac_recv'
>
> by making the function static.
>
> Signed-off-by: Nathan Froyd <address@hidden>
> ---
> hw/tosa.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
Thanks, applied.
> diff --git a/hw/tosa.c b/hw/tosa.c
> index 64ebaa4..6702b6b 100644
> --- a/hw/tosa.c
> +++ b/hw/tosa.c
> @@ -172,7 +172,7 @@ static void tosa_dac_event(i2c_slave *i2c, enum i2c_event
> event)
> }
> }
>
> -int tosa_dac_recv(i2c_slave *s)
> +static int tosa_dac_recv(i2c_slave *s)
> {
> printf("%s: recv not supported!!!\n", __FUNCTION__);
> return -1;
> --
> 1.6.0.5
>
>
>
>
--
Aurelien Jarno GPG: 1024D/F1BCDB73
address@hidden http://www.aurel32.net
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-devel] [PATCH] Fix tosa_dac_recv warning,
Aurelien Jarno <=