summaryrefslogtreecommitdiff
path: root/hw/cbus.c
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-10-26 13:43:07 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-10-26 13:43:07 +0000
commitb1d8e52e636fd2c137e5abb2d59b331473e0930d (patch)
treeb9fe10850b589a60f5dade8cdf3407c67428127b /hw/cbus.c
parent51a0f568c5b0301fd8e44e5c28eaa8a82ea523d8 (diff)
Fix undeclared symbol warnings from sparse
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5539 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/cbus.c')
-rw-r--r--hw/cbus.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/hw/cbus.c b/hw/cbus.c
index c84de05336..03218b4450 100644
--- a/hw/cbus.c
+++ b/hw/cbus.c
@@ -435,7 +435,8 @@ void retu_key_event(void *retu, int state)
s->status |= 1 << 5;
}
-void retu_head_event(void *retu, int state)
+#if 0
+static void retu_head_event(void *retu, int state)
{
struct cbus_slave_s *slave = (struct cbus_slave_s *) retu;
struct cbus_retu_s *s = (struct cbus_retu_s *) slave->opaque;
@@ -452,7 +453,7 @@ void retu_head_event(void *retu, int state)
s->result[retu_adc_head_det] = 123;
}
-void retu_hook_event(void *retu, int state)
+static void retu_hook_event(void *retu, int state)
{
struct cbus_slave_s *slave = (struct cbus_slave_s *) retu;
struct cbus_retu_s *s = (struct cbus_retu_s *) slave->opaque;
@@ -468,6 +469,7 @@ void retu_hook_event(void *retu, int state)
else
s->result[retu_adc_hook_det] = 123;
}
+#endif
/* Tahvo/Betty */
struct cbus_tahvo_s {