qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Nathan Froyd <froydnj@codesourcery.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH] Fix tosa_dac_recv warning
Date: Mon, 26 Jan 2009 17:56:12 -0800	[thread overview]
Message-ID: <1233021372-15655-3-git-send-email-froydnj@codesourcery.com> (raw)

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(-)

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

             reply	other threads:[~2009-01-27  2:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-27  1:56 Nathan Froyd [this message]
2009-02-07 15:21 ` [Qemu-devel] [PATCH] Fix tosa_dac_recv warning Aurelien Jarno

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=1233021372-15655-3-git-send-email-froydnj@codesourcery.com \
    --to=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).