diff options
author | Eric Blake <eblake@redhat.com> | 2011-11-07 10:47:31 -0700 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2011-11-11 14:12:37 -0700 |
commit | e55ec69de6751bd6e2dc0c0c37e317298507919b (patch) | |
tree | f6a26d2c611eb66be7281615c8c62298913f21c0 | |
parent | xenapi: remove unused variable (diff) | |
download | libvirt-e55ec69de6751bd6e2dc0c0c37e317298507919b.tar.gz libvirt-e55ec69de6751bd6e2dc0c0c37e317298507919b.tar.bz2 libvirt-e55ec69de6751bd6e2dc0c0c37e317298507919b.zip |
build: drop useless dirent.h includes
* .gnulib: Update to latest, for improved syntax-check.
* src/lxc/lxc_container.c (includes): Drop unused include.
* src/network/bridge_driver.c: Likewise.
* src/node_device/node_device_linux_sysfs.c: Likewise.
* src/openvz/openvz_driver.c: Likewise.
* src/qemu/qemu_conf.c: Likewise.
* src/storage/storage_backend_iscsi.c: Likewise.
* src/storage/storage_backend_mpath.c: Likewise.
* src/uml/uml_conf.c: Likewise.
* src/uml/uml_driver.c: Likewise.
m--------- | .gnulib | 0 | ||||
-rw-r--r-- | src/lxc/lxc_container.c | 1 | ||||
-rw-r--r-- | src/network/bridge_driver.c | 1 | ||||
-rw-r--r-- | src/node_device/node_device_linux_sysfs.c | 3 | ||||
-rw-r--r-- | src/openvz/openvz_driver.c | 1 | ||||
-rw-r--r-- | src/qemu/qemu_conf.c | 1 | ||||
-rw-r--r-- | src/storage/storage_backend_iscsi.c | 1 | ||||
-rw-r--r-- | src/storage/storage_backend_mpath.c | 3 | ||||
-rw-r--r-- | src/uml/uml_conf.c | 1 | ||||
-rw-r--r-- | src/uml/uml_driver.c | 1 |
10 files changed, 2 insertions, 11 deletions
diff --git a/.gnulib b/.gnulib -Subproject 0031e4f6353cc7077a9d0dad0c793bd6e3dc7aa +Subproject e56e96fe20f72586e9ec5c528b9a9a06daa2ecc diff --git a/src/lxc/lxc_container.c b/src/lxc/lxc_container.c index c4e5f28d2..c2484a757 100644 --- a/src/lxc/lxc_container.c +++ b/src/lxc/lxc_container.c @@ -35,7 +35,6 @@ #include <sys/stat.h> #include <unistd.h> #include <mntent.h> -#include <dirent.h> /* Yes, we want linux private one, for _syscall2() macro */ #include <linux/unistd.h> diff --git a/src/network/bridge_driver.c b/src/network/bridge_driver.c index 32cceb09b..a9e1252b9 100644 --- a/src/network/bridge_driver.c +++ b/src/network/bridge_driver.c @@ -25,7 +25,6 @@ #include <sys/types.h> #include <sys/poll.h> -#include <dirent.h> #include <limits.h> #include <string.h> #include <stdio.h> diff --git a/src/node_device/node_device_linux_sysfs.c b/src/node_device/node_device_linux_sysfs.c index 844231a0e..d3528007b 100644 --- a/src/node_device/node_device_linux_sysfs.c +++ b/src/node_device/node_device_linux_sysfs.c @@ -2,7 +2,7 @@ * node_device_hal_linuc.c: Linux specific code to gather device data * not available through HAL. * - * Copyright (C) 2009-2010 Red Hat, Inc. + * Copyright (C) 2009-2011 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -32,7 +32,6 @@ #include "memory.h" #include "logging.h" #include "virfile.h" -#include <dirent.h> #define VIR_FROM_THIS VIR_FROM_NODEDEV diff --git a/src/openvz/openvz_driver.c b/src/openvz/openvz_driver.c index 12867d3fa..8fc501279 100644 --- a/src/openvz/openvz_driver.c +++ b/src/openvz/openvz_driver.c @@ -30,7 +30,6 @@ #include <sys/types.h> #include <sys/poll.h> -#include <dirent.h> #include <limits.h> #include <string.h> #include <stdio.h> diff --git a/src/qemu/qemu_conf.c b/src/qemu/qemu_conf.c index d1bf07565..0cf921f4f 100644 --- a/src/qemu/qemu_conf.c +++ b/src/qemu/qemu_conf.c @@ -23,7 +23,6 @@ #include <config.h> -#include <dirent.h> #include <string.h> #include <limits.h> #include <sys/types.h> diff --git a/src/storage/storage_backend_iscsi.c b/src/storage/storage_backend_iscsi.c index 99e69c9a6..354f99be9 100644 --- a/src/storage/storage_backend_iscsi.c +++ b/src/storage/storage_backend_iscsi.c @@ -32,7 +32,6 @@ #include <regex.h> #include <fcntl.h> #include <unistd.h> -#include <dirent.h> #include <sys/stat.h> #include "virterror_internal.h" diff --git a/src/storage/storage_backend_mpath.c b/src/storage/storage_backend_mpath.c index 4f3add399..f09ce9b2b 100644 --- a/src/storage/storage_backend_mpath.c +++ b/src/storage/storage_backend_mpath.c @@ -1,7 +1,7 @@ /* * storage_backend_mpath.c: storage backend for multipath handling * - * Copyright (C) 2009-2010 Red Hat, Inc. + * Copyright (C) 2009-2011 Red Hat, Inc. * Copyright (C) 2009-2008 Dave Allan * * This library is free software; you can redistribute it and/or @@ -25,7 +25,6 @@ #include <unistd.h> #include <stdio.h> -#include <dirent.h> #include <fcntl.h> #include <libdevmapper.h> diff --git a/src/uml/uml_conf.c b/src/uml/uml_conf.c index 3089abb9d..d4cb12b00 100644 --- a/src/uml/uml_conf.c +++ b/src/uml/uml_conf.c @@ -23,7 +23,6 @@ #include <config.h> -#include <dirent.h> #include <string.h> #include <limits.h> #include <sys/types.h> diff --git a/src/uml/uml_driver.c b/src/uml/uml_driver.c index c5587d07a..a0e086a36 100644 --- a/src/uml/uml_driver.c +++ b/src/uml/uml_driver.c @@ -25,7 +25,6 @@ #include <sys/types.h> #include <sys/poll.h> -#include <dirent.h> #include <limits.h> #include <string.h> #include <stdio.h> |