[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] tools: remove duplicate #includes



I'm assuming this is for 4.5, like the other #include change.

On Thu, 2013-12-05 at 21:37 +1300, Matthew Daley wrote:
> (From first party code; ie. not including tdb)
> 
> Signed-off-by: Matthew Daley <mattd@xxxxxxxxxxx>
> ---
> Build-tested.
> 
>  tools/console/client/main.c       |    1 -
>  tools/libxc/xc_flask.c            |    1 -
>  tools/xcutils/xc_save.c           |    1 -
>  tools/xenstore/xenstored_domain.c |    1 -
>  4 files changed, 4 deletions(-)
> 
> diff --git a/tools/console/client/main.c b/tools/console/client/main.c
> index 38c856a..95c2e02 100644
> --- a/tools/console/client/main.c
> +++ b/tools/console/client/main.c
> @@ -33,7 +33,6 @@
>  #include <getopt.h>
>  #include <sys/select.h>
>  #include <err.h>
> -#include <errno.h>
>  #include <string.h>
>  #ifdef __sun__
>  #include <sys/stropts.h>
> diff --git a/tools/libxc/xc_flask.c b/tools/libxc/xc_flask.c
> index 4294a25..b73d0cc 100644
> --- a/tools/libxc/xc_flask.c
> +++ b/tools/libxc/xc_flask.c
> @@ -28,7 +28,6 @@
>  #include <stdlib.h>
>  #include <stdint.h>
>  #include <sys/ioctl.h>
> -#include <stdint.h>
>  
>  #define OCON_ISID    0    /* initial SIDs */
>  #define OCON_PIRQ    1    /* physical irqs */
> diff --git a/tools/xcutils/xc_save.c b/tools/xcutils/xc_save.c
> index e34bd2c..846e88f 100644
> --- a/tools/xcutils/xc_save.c
> +++ b/tools/xcutils/xc_save.c
> @@ -17,7 +17,6 @@
>  #include <sys/types.h>
>  #include <sys/stat.h>
>  #include <fcntl.h>
> -#include <err.h>
>  
>  #include <xenstore.h>
>  #include <xenctrl.h>
> diff --git a/tools/xenstore/xenstored_domain.c 
> b/tools/xenstore/xenstored_domain.c
> index f24bd6b..6cbd428 100644
> --- a/tools/xenstore/xenstored_domain.c
> +++ b/tools/xenstore/xenstored_domain.c
> @@ -22,7 +22,6 @@
>  #include <unistd.h>
>  #include <stdlib.h>
>  #include <stdarg.h>
> -#include <xenctrl.h>
>  
>  #include "utils.h"
>  #include "talloc.h"



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.