From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LN9mO-0008Kz-Sp for qemu-devel@nongnu.org; Wed, 14 Jan 2009 12:43:48 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LN9mN-0008Ji-Bx for qemu-devel@nongnu.org; Wed, 14 Jan 2009 12:43:48 -0500 Received: from [199.232.76.173] (port=47567 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LN9mN-0008Jd-4c for qemu-devel@nongnu.org; Wed, 14 Jan 2009 12:43:47 -0500 Received: from gecko.sbs.de ([194.138.37.40]:16077) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LN9mM-0006nv-Dd for qemu-devel@nongnu.org; Wed, 14 Jan 2009 12:43:46 -0500 Received: from mail2.sbs.de (localhost [127.0.0.1]) by gecko.sbs.de (8.12.11.20060308/8.12.11) with ESMTP id n0EHhhA6027868 for ; Wed, 14 Jan 2009 18:43:43 +0100 Received: from [139.25.109.167] (mchn012c.mchp.siemens.de [139.25.109.167] (may be forged)) by mail2.sbs.de (8.12.11.20060308/8.12.11) with ESMTP id n0EHhhvI019355 for ; Wed, 14 Jan 2009 18:43:43 +0100 Message-ID: <496E244F.8070104@siemens.com> Date: Wed, 14 Jan 2009 18:43:43 +0100 From: Jan Kiszka MIME-Version: 1.0 References: <494A4D76.3020800@siemens.com> In-Reply-To: <494A4D76.3020800@siemens.com> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [PATCH] Add bt_host_hci prototype Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Jan Kiszka wrote: > Silence compiler warning by providing a prototype in the CONFIG_BLUEZ > case (hw/bt.h provides it otherwise). > > Signed-off-by: Jan Kiszka > --- > > bt-host.c | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/bt-host.c b/bt-host.c > index 3c7b270..6ab945d 100644 > --- a/bt-host.c > +++ b/bt-host.c > @@ -32,6 +32,8 @@ > # include > # include > # include > +/* Silence compiler warning */ > +struct HCIInfo *bt_host_hci(const char *id); > # else > # include "hw/bt.h" > # define HCI_MAX_FRAME_SIZE 1028 > > > This warning still bugs us, please apply this or any better fix. Jan -- Siemens AG, Corporate Technology, CT SE 26 Corporate Competence Center Embedded Linux