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

[Xen-changelog] [xen master] tools: remove duplicate #includes



commit 96a4cfade3d7d8634129b0cc94dd945d3de3a806
Author:     Matthew Daley <mattd@xxxxxxxxxxx>
AuthorDate: Thu Dec 5 21:37:38 2013 +1300
Commit:     Ian Campbell <ian.campbell@xxxxxxxxxx>
CommitDate: Wed Mar 12 13:26:15 2014 +0000

    tools: remove duplicate #includes
    
    (From first party code; ie. not including tdb)
    
    Signed-off-by: Matthew Daley <mattd@xxxxxxxxxxx>
    Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
---
 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, 0 insertions(+), 4 deletions(-)

diff --git a/tools/console/client/main.c b/tools/console/client/main.c
index 3242008..eb6a1a9 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 255e4b0..bb117f7 100644
--- a/tools/libxc/xc_flask.c
+++ b/tools/libxc/xc_flask.c
@@ -27,7 +27,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 45ad0ce..ecf5444 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 f7bbb03..6d0394d 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"
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

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