From: Aurelien Jarno <aurelien@aurel32.net>
To: Nathan Froyd <froydnj@codesourcery.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] Fix tosa_dac_recv warning
Date: Sat, 7 Feb 2009 16:21:04 +0100 [thread overview]
Message-ID: <20090207152104.GG6533@volta.aurel32.net> (raw)
In-Reply-To: <1233021372-15655-3-git-send-email-froydnj@codesourcery.com>
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 <froydnj@codesourcery.com>
> ---
> 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
aurelien@aurel32.net http://www.aurel32.net
prev parent reply other threads:[~2009-02-07 15:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-27 1:56 [Qemu-devel] [PATCH] Fix tosa_dac_recv warning Nathan Froyd
2009-02-07 15:21 ` Aurelien Jarno [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090207152104.GG6533@volta.aurel32.net \
--to=aurelien@aurel32.net \
--cc=froydnj@codesourcery.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).