qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 1/7] clean build: Add bt_host_hci prototype


From: Jan Kiszka
Subject: [Qemu-devel] [PATCH 1/7] clean build: Add bt_host_hci prototype
Date: Sat, 21 Feb 2009 20:00:55 +0100
User-agent: StGIT/0.14.2

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

Signed-off-by: Jan Kiszka <address@hidden>
---

 bt-host.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/bt-host.c b/bt-host.c
index 07679f6..066757a 100644
--- a/bt-host.c
+++ b/bt-host.c
@@ -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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]