Skip to contentSkip to conversation

Add bt_host_hci prototype

PATCH RESEND New Jan Kiszka 1 participant 1 message Jan 26, 2009

lore
Share & tools
lore

Jan Kiszka

author
#0 lore raw

PATCH RESEND 1/1 Add bt_host_hci prototype

Silence compiler warning by providing a prototype in the CONFIG_BLUEZ case (hw/bt.h provides it otherwise).

---

 bt-host.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
bt-host.c +2 -0
index 07679f6..066757a 100644
@@ -31,6 +31,8 @@
 #  include <bluetooth/bluetooth.h>
 #  include <bluetooth/hci.h>
 #  include <bluetooth/hci_lib.h>
+/* Silence compiler warning */
+struct HCIInfo *bt_host_hci(const char *id);
 # else
 #  include "hw/bt.h"
 #  define HCI_MAX_FRAME_SIZE	1028