[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 1/4] tools/libxc: remove double inclusion of errno.h
xc_private.h includes errno.h already Signed-off-by: Olaf Hering <olaf@xxxxxxxxx> --- tools/libxc/xc_compression.c | 1 - tools/libxc/xc_flask.c | 1 - tools/libxc/xc_gnttab.c | 1 - tools/libxc/xc_minios.c | 1 - tools/libxc/xc_pm.c | 1 - tools/misc/xen-hptool.c | 1 - tools/misc/xen-mfndump.c | 1 - 7 files changed, 7 deletions(-) diff --git a/tools/libxc/xc_compression.c b/tools/libxc/xc_compression.c index 8f0b89d..d42e651 100644 --- a/tools/libxc/xc_compression.c +++ b/tools/libxc/xc_compression.c @@ -32,7 +32,6 @@ #include <unistd.h> #include <sys/types.h> #include <inttypes.h> -#include <errno.h> #include "xc_private.h" #include "xenctrl.h" #include "xg_save_restore.h" diff --git a/tools/libxc/xc_flask.c b/tools/libxc/xc_flask.c index 4294a25..255e4b0 100644 --- a/tools/libxc/xc_flask.c +++ b/tools/libxc/xc_flask.c @@ -19,7 +19,6 @@ #include "xc_private.h" #include <unistd.h> #include <stdio.h> -#include <errno.h> #include <fcntl.h> #include <string.h> #include <sys/mman.h> diff --git a/tools/libxc/xc_gnttab.c b/tools/libxc/xc_gnttab.c index 79dab40..3b6058c 100644 --- a/tools/libxc/xc_gnttab.c +++ b/tools/libxc/xc_gnttab.c @@ -18,7 +18,6 @@ */ #include "xc_private.h" -#include <errno.h> int xc_gnttab_op(xc_interface *xch, int cmd, void * op, int op_size, int count) { diff --git a/tools/libxc/xc_minios.c b/tools/libxc/xc_minios.c index dec4d73..a48f0de 100644 --- a/tools/libxc/xc_minios.c +++ b/tools/libxc/xc_minios.c @@ -29,7 +29,6 @@ #include <mini-os/events.h> #include <mini-os/wait.h> #include <sys/mman.h> -#include <errno.h> #include <xen/memory.h> #include <unistd.h> diff --git a/tools/libxc/xc_pm.c b/tools/libxc/xc_pm.c index 0da2d89..f7ac40c 100644 --- a/tools/libxc/xc_pm.c +++ b/tools/libxc/xc_pm.c @@ -19,7 +19,6 @@ * */ -#include <errno.h> #include <stdbool.h> #include "xc_private.h" diff --git a/tools/misc/xen-hptool.c b/tools/misc/xen-hptool.c index 24c3e95..f8570f2 100644 --- a/tools/misc/xen-hptool.c +++ b/tools/misc/xen-hptool.c @@ -1,7 +1,6 @@ #include <xenctrl.h> #include <xc_private.h> #include <xc_core.h> -#include <errno.h> #include <unistd.h> #define ARRAY_SIZE(a) (sizeof (a) / sizeof ((a)[0])) diff --git a/tools/misc/xen-mfndump.c b/tools/misc/xen-mfndump.c index dea9fa9..8064527 100644 --- a/tools/misc/xen-mfndump.c +++ b/tools/misc/xen-mfndump.c @@ -1,7 +1,6 @@ #include <xenctrl.h> #include <xc_private.h> #include <xc_core.h> -#include <errno.h> #include <unistd.h> #include <inttypes.h> _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |