[6809] Clean build: Add bt-host.h
Revision: 6809
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6809 Author: aurel32 Date: 2009-03-10 21:43:35 +0000 (Tue, 10 Mar 2009)
Log Message:
-----------
Clean build: Add bt-host.h
Silence compiler warning by providing proper CONFIG_BLUEZ-independent header for the bt-host API.
Signed-off-by Jan Kiszka <[email protected]>
Signed-off-by Aurelien Jarno <[email protected]>
Modified Paths:
--------------
trunk/bt-host.c
trunk/hw/bt.h
trunk/vl.c
Added Paths:
-----------
trunk/bt-host.h
Modified: trunk/bt-host.c
===================================================================
bt-host.c +1 -0
@@ -22,6 +22,7 @@#include "qemu-char.h" #include "sysemu.h" #include "net.h" +#include "bt-host.h" #ifndef _WIN32# include <errno.h>
Added: trunk/bt-host.h
===================================================================
bt-host.h +9 -0
@@ -0,0 +1,9 @@ +#ifndef BT_HOST_H +#define BT_HOST_H + +struct HCIInfo ; + +/* bt-host.c */ +struct HCIInfo *bt_host_hci (const char *id); + +#endif
Modified: trunk/hw/bt.h
===================================================================
hw/bt.h +0 -3
@@ -112,9 +112,6 @@/* bt-hci.c */ struct HCIInfo *bt_new_hci (struct bt_scatternet_s *net); -/* bt-host.c */ -struct HCIInfo *bt_host_hci (const char *id); -/* bt-vhci.c */ void bt_vhci_init (struct HCIInfo *info);
Modified: trunk/vl.c
===================================================================
vl.c +1 -0
@@ -138,6 +138,7 @@#include "hw/isa.h" #include "hw/baum.h" #include "hw/bt.h" +#include "bt-host.h" #include "net.h" #include "monitor.h" #include "console.h"