summary refs log tree commit diff stats
path: root/hw/bt-hci.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/bt-hci.c
parent51a0f568c5b0301fd8e44e5c28eaa8a82ea523d8 (diff)
downloadfocaccia-qemu-b1d8e52e636fd2c137e5abb2d59b331473e0930d.tar.gz
focaccia-qemu-b1d8e52e636fd2c137e5abb2d59b331473e0930d.zip
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/bt-hci.c')
-rw-r--r--hw/bt-hci.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/hw/bt-hci.c b/hw/bt-hci.c
index 2562f21f63..121fabf453 100644
--- a/hw/bt-hci.c
+++ b/hw/bt-hci.c
@@ -87,6 +87,7 @@ struct bt_hci_link_s {
 };
 
 /* LMP layer emulation */
+#if 0
 static void bt_submit_lmp(struct bt_device_s *bt, int length, uint8_t *data)
 {
     int resp, resplen, error, op, tr;
@@ -386,7 +387,7 @@ static void bt_submit_lmp(struct bt_device_s *bt, int length, uint8_t *data)
     respdata[0] |= tr;
 }
 
-void bt_submit_raw_acl(struct bt_piconet_s *net, int length, uint8_t *data)
+static void bt_submit_raw_acl(struct bt_piconet_s *net, int length, uint8_t *data)
 {
     struct bt_device_s *slave;
     if (length < 1)
@@ -411,6 +412,7 @@ void bt_submit_raw_acl(struct bt_piconet_s *net, int length, uint8_t *data)
         break;
     }
 }
+#endif
 
 /* HCI layer emulation */
 
@@ -1118,7 +1120,7 @@ static void bt_hci_mode_tick(void *opaque)
     bt_hci_lmp_mode_change_master(hci, link, acl_active, 0);
 }
 
-void bt_hci_reset(struct bt_hci_s *hci)
+static void bt_hci_reset(struct bt_hci_s *hci)
 {
     hci->acl_len = 0;
     hci->last_cmd = 0;