tools: remove duplicate #includes
PATCH 1/1 tools: remove duplicate #includes
(From first party code; ie. not including tdb)
Signed-off-by Matthew Daley <[email protected]>
---
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(-)
tools/console/client/main.c +0 -1
@@ -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>
tools/libxc/xc_flask.c +0 -1
@@ -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 */
tools/xcutils/xc_save.c +0 -1
@@ -17,7 +17,6 @@#include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> -#include <err.h> #include <xenstore.h> #include <xenctrl.h>
tools/xenstore/xenstored_domain.c +0 -1
@@ -22,7 +22,6 @@#include <unistd.h> #include <stdlib.h> #include <stdarg.h> -#include <xenctrl.h> #include "utils.h" #include "talloc.h"
Signature · 1 line
1.7.10.4
I'm assuming this is for 4.5, like the other #include change.
Quoted 60 lines · Matthew Daley
(From first party code; ie. not including tdb)
Signed-off-by Matthew Daley <[email protected]>---
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(-)tools/console/client/main.c +0
-1@@ -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> tools/libxc/xc_flask.c +0
-1@@ -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 */ tools/xcutils/xc_save.c +0
-1@@ -17,7 +17,6 @@#include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> -#include <err.h> #include <xenstore.h> #include <xenctrl.h> tools/xenstore/xenstored_domain.c +0
-1@@ -22,7 +22,6 @@#include <unistd.h> #include <stdlib.h> #include <stdarg.h> -#include <xenctrl.h> #include "utils.h" #include "talloc.h"
Quoted 3 lines · Matthew Daley
(From first party code; ie. not including tdb)
Signed-off-by Matthew Daley <[email protected]>
Acked-by Ian Campbell <[email protected]>
and applied.