[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [Xen-devel] [PATCH] xen: Clean up includes
From: |
Stefano Stabellini |
Subject: |
Re: [Qemu-devel] [Xen-devel] [PATCH] xen: Clean up includes |
Date: |
Mon, 30 May 2016 16:54:58 +0100 (BST) |
User-agent: |
Alpine 2.10 (DEB 1266 2009-07-14) |
On Tue, 24 May 2016, Peter Maydell wrote:
> Clean up includes so that osdep.h is included first and headers
> which it implies are not included manually.
>
> This commit was created with scripts/clean-includes.
>
> Signed-off-by: Peter Maydell <address@hidden>
Reviewed-by: Stefano Stabellini <address@hidden>
Added to my queue
> hw/usb/xen-usb.c | 5 +----
> include/hw/xen/xen.h | 1 -
> 2 files changed, 1 insertion(+), 5 deletions(-)
>
> diff --git a/hw/usb/xen-usb.c b/hw/usb/xen-usb.c
> index 664df04..8fa47ed 100644
> --- a/hw/usb/xen-usb.c
> +++ b/hw/usb/xen-usb.c
> @@ -19,13 +19,10 @@
> * GNU GPL, version 2 or (at your option) any later version.
> */
>
> +#include "qemu/osdep.h"
> #include <libusb.h>
> -#include <stdio.h>
> -#include <sys/types.h>
> #include <sys/mman.h>
> -#include <sys/time.h>
>
> -#include "qemu/osdep.h"
> #include "qemu-common.h"
> #include "qemu/config-file.h"
> #include "hw/sysbus.h"
> diff --git a/include/hw/xen/xen.h b/include/hw/xen/xen.h
> index 6365483..b2cd992 100644
> --- a/include/hw/xen/xen.h
> +++ b/include/hw/xen/xen.h
> @@ -8,7 +8,6 @@
> */
>
> #include "qemu-common.h"
> -#include "qemu/typedefs.h"
> #include "exec/cpu-common.h"
> #include "hw/irq.h"
>
> --
> 1.9.1
>
>
> _______________________________________________
> Xen-devel mailing list
> address@hidden
> http://lists.xen.org/xen-devel
>