Skip to content

Commit

Permalink
Clean build: Add bt-host.h
Browse files Browse the repository at this point in the history
Silence compiler warning by providing proper CONFIG_BLUEZ-independent
header for the bt-host API.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6809 c046a42c-6fe2-441c-8c8c-71466251a162
  • Loading branch information
aurel32 committed Mar 10, 2009
1 parent 419bafa commit 5ef4efa
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
1 change: 1 addition & 0 deletions bt-host.c
Expand Up @@ -22,6 +22,7 @@
#include "qemu-char.h"
#include "sysemu.h"
#include "net.h"
#include "bt-host.h"

#ifndef _WIN32
# include <errno.h>
Expand Down
9 changes: 9 additions & 0 deletions bt-host.h
@@ -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
3 changes: 0 additions & 3 deletions hw/bt.h
Expand Up @@ -112,9 +112,6 @@ void bt_device_done(struct bt_device_s *dev);
/* 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);

Expand Down
1 change: 1 addition & 0 deletions vl.c
Expand Up @@ -138,6 +138,7 @@ int main(int argc, char **argv)
#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"
Expand Down

0 comments on commit 5ef4efa

Please sign in to comment.