[Top][All Lists]
[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
- [Qemu-devel] [PATCH 0/7] clean build - eliminate warnings, Jan Kiszka, 2009/02/21
- [Qemu-devel] [PATCH 1/7] clean build: Add bt_host_hci prototype,
Jan Kiszka <=
- [Qemu-devel] [PATCH 6/7] clean build: Fix remaining m68k warnings, Jan Kiszka, 2009/02/21
- [Qemu-devel] [PATCH 2/7] clean build: Fix irq_info and pic_info related warnings, Jan Kiszka, 2009/02/21
- [Qemu-devel] [PATCH 7/7] clean build: Fix remaining sh4 warnings, Jan Kiszka, 2009/02/21
- [Qemu-devel] [PATCH 3/7] arm: Fix gic_irq_state.level bitfield type, Jan Kiszka, 2009/02/21
- [Qemu-devel] [PATCH 4/7] clean build: Fix arm build warnings, Jan Kiszka, 2009/02/21
- [Qemu-devel] [PATCH 5/7] clean build: Fix remaining cris warnings, Jan Kiszka, 2009/02/21