qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] Fix tosa_dac_recv warning


From: Nathan Froyd
Subject: [Qemu-devel] [PATCH] Fix tosa_dac_recv warning
Date: Mon, 26 Jan 2009 17:56:12 -0800

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

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 via email to

[Prev in Thread] Current Thread [Next in Thread]