Add bt_host_hci prototype
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).
Signed-off-by Jan Kiszka <[email protected]>
---
bt-host.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
bt-host.c +2 -0
@@ -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