* [Qemu-devel] [RESEND #2][PATCH] Add bt_host_hci prototype
@ 2009-01-26 18:12 Jan Kiszka
0 siblings, 0 replies; only message in thread
From: Jan Kiszka @ 2009-01-26 18:12 UTC (permalink / raw)
To: qemu-devel
Silence compiler warning by providing a prototype in the CONFIG_BLUEZ
case (hw/bt.h provides it otherwise).
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2009-01-26 18:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-26 18:12 [Qemu-devel] [RESEND #2][PATCH] Add bt_host_hci prototype Jan Kiszka
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).