[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: [PATCH 1/7] clean build: Add bt_host_hci prototype
From: |
Jan Kiszka |
Subject: |
[Qemu-devel] Re: [PATCH 1/7] clean build: Add bt_host_hci prototype |
Date: |
Sun, 08 Mar 2009 15:56:12 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 |
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 <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
Thanks for applying the other patches, but this tiny one always seems to
be ignored - for unknown reasons. :)
Jan
signature.asc
Description: OpenPGP digital signature
- [Qemu-devel] Re: [PATCH 1/7] clean build: Add bt_host_hci prototype,
Jan Kiszka <=