From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LRdbO-0004DQ-1r for qemu-devel@nongnu.org; Mon, 26 Jan 2009 21:22:58 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LRdbM-0004DE-KP for qemu-devel@nongnu.org; Mon, 26 Jan 2009 21:22:57 -0500 Received: from [199.232.76.173] (port=51533 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LRdbM-0004DB-Dx for qemu-devel@nongnu.org; Mon, 26 Jan 2009 21:22:56 -0500 Received: from mx20.gnu.org ([199.232.41.8]:64843) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LRdbM-0004rt-9c for qemu-devel@nongnu.org; Mon, 26 Jan 2009 21:22:56 -0500 Received: from mail.codesourcery.com ([65.74.133.4]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LRdbL-0002TO-Bt for qemu-devel@nongnu.org; Mon, 26 Jan 2009 21:22:55 -0500 From: Nathan Froyd Date: Mon, 26 Jan 2009 17:56:12 -0800 Message-Id: <1233021372-15655-3-git-send-email-froydnj@codesourcery.com> Subject: [Qemu-devel] [PATCH] Fix tosa_dac_recv warning Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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(-) 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