From b1d8e52e636fd2c137e5abb2d59b331473e0930d Mon Sep 17 00:00:00 2001 From: blueswir1 Date: Sun, 26 Oct 2008 13:43:07 +0000 Subject: Fix undeclared symbol warnings from sparse git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5539 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/bt-hci.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'hw/bt-hci.c') 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; -- cgit v1.2.3-55-g7522