From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LVp0y-0001ck-Hu for qemu-devel@nongnu.org; Sat, 07 Feb 2009 10:22:40 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LVp0x-0001bo-N6 for qemu-devel@nongnu.org; Sat, 07 Feb 2009 10:22:39 -0500 Received: from [199.232.76.173] (port=48973 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LVp0x-0001bi-BE for qemu-devel@nongnu.org; Sat, 07 Feb 2009 10:22:39 -0500 Received: from hall.aurel32.net ([88.191.82.174]:43619) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LVp0w-0003Zj-T4 for qemu-devel@nongnu.org; Sat, 07 Feb 2009 10:22:39 -0500 Date: Sat, 7 Feb 2009 16:21:04 +0100 From: Aurelien Jarno Subject: Re: [Qemu-devel] [PATCH] Fix tosa_dac_recv warning Message-ID: <20090207152104.GG6533@volta.aurel32.net> References: <1233021372-15655-3-git-send-email-froydnj@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <1233021372-15655-3-git-send-email-froydnj@codesourcery.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Nathan Froyd Cc: qemu-devel@nongnu.org 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 > --- > 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