From: Aurelien Jarno <aurelien@aurel32.net>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [6809] Clean build: Add bt-host.h
Date: Tue, 10 Mar 2009 21:43:35 +0000 [thread overview]
Message-ID: <E1Lh9jb-0006XE-RO@cvs.savannah.gnu.org> (raw)
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 <jan.kiszka@siemens.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Modified Paths:
--------------
trunk/bt-host.c
trunk/hw/bt.h
trunk/vl.c
Added Paths:
-----------
trunk/bt-host.h
Modified: trunk/bt-host.c
===================================================================
--- trunk/bt-host.c 2009-03-10 21:43:25 UTC (rev 6808)
+++ trunk/bt-host.c 2009-03-10 21:43:35 UTC (rev 6809)
@@ -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
===================================================================
--- trunk/bt-host.h (rev 0)
+++ trunk/bt-host.h 2009-03-10 21:43:35 UTC (rev 6809)
@@ -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
===================================================================
--- trunk/hw/bt.h 2009-03-10 21:43:25 UTC (rev 6808)
+++ trunk/hw/bt.h 2009-03-10 21:43:35 UTC (rev 6809)
@@ -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
===================================================================
--- trunk/vl.c 2009-03-10 21:43:25 UTC (rev 6808)
+++ trunk/vl.c 2009-03-10 21:43:35 UTC (rev 6809)
@@ -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"
reply other threads:[~2009-03-10 21:43 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1Lh9jb-0006XE-RO@cvs.savannah.gnu.org \
--to=aurelien@aurel32.net \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).