]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
build: drop useless dirent.h includes
authorEric Blake <eblake@redhat.com>
Mon, 7 Nov 2011 17:47:31 +0000 (10:47 -0700)
committerEric Blake <eblake@redhat.com>
Fri, 11 Nov 2011 21:12:37 +0000 (14:12 -0700)
* .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.

.gnulib
src/lxc/lxc_container.c
src/network/bridge_driver.c
src/node_device/node_device_linux_sysfs.c
src/openvz/openvz_driver.c
src/qemu/qemu_conf.c
src/storage/storage_backend_iscsi.c
src/storage/storage_backend_mpath.c
src/uml/uml_conf.c
src/uml/uml_driver.c

diff --git a/.gnulib b/.gnulib
index 0031e4f6353cc7077a9d0dad0c793bd6e3dc7aaa..e56e96fe20f72586e9ec5c528b9a9a06daa2ecc6 160000 (submodule)
--- a/.gnulib
+++ b/.gnulib
@@ -1 +1 @@
-Subproject commit 0031e4f6353cc7077a9d0dad0c793bd6e3dc7aaa
+Subproject commit e56e96fe20f72586e9ec5c528b9a9a06daa2ecc6
index c4e5f28d288fa75ae77e5d65e1cb9f2e34dab4da..c2484a75745f7b6b10b2da8a624c8374c3367515 100644 (file)
@@ -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>
index 32cceb09b016b08d6c760edcaa1a0f2efffb5513..a9e1252b943e1937ce577b4d4152cdbfa8d0a6b8 100644 (file)
@@ -25,7 +25,6 @@
 
 #include <sys/types.h>
 #include <sys/poll.h>
-#include <dirent.h>
 #include <limits.h>
 #include <string.h>
 #include <stdio.h>
index 844231a0ed34d54515f55c81036a460204c05e5c..d3528007b592338a72a7d81e3c9b23103f9c23c0 100644 (file)
@@ -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
 
index 12867d3fac71bc4387ce037ab241de3b8d984c2d..8fc50127952f22eb398995b800cb4f17d19e0045 100644 (file)
@@ -30,7 +30,6 @@
 
 #include <sys/types.h>
 #include <sys/poll.h>
-#include <dirent.h>
 #include <limits.h>
 #include <string.h>
 #include <stdio.h>
index d1bf075659f433b6e5144cbd0f0f34ce86db4f2e..0cf921f4f5e92ab170fa942f8f0a4457c8c94faa 100644 (file)
@@ -23,7 +23,6 @@
 
 #include <config.h>
 
-#include <dirent.h>
 #include <string.h>
 #include <limits.h>
 #include <sys/types.h>
index 99e69c9a63179c301ce77f1d574e80d190247de3..354f99be9ad477d9c45ace9311aec06a5f735832 100644 (file)
@@ -32,7 +32,6 @@
 #include <regex.h>
 #include <fcntl.h>
 #include <unistd.h>
-#include <dirent.h>
 #include <sys/stat.h>
 
 #include "virterror_internal.h"
index 4f3add3995ff8752ed0c24f969eeb4deced68426..f09ce9b2b979d54a8b9a03f855ad45a9f0b28792 100644 (file)
@@ -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>
index 3089abb9d80fc1922915a7f3a6b26fefaf110079..d4cb12b0038dead2d9a0009c8ce5c105e46f7c9f 100644 (file)
@@ -23,7 +23,6 @@
 
 #include <config.h>
 
-#include <dirent.h>
 #include <string.h>
 #include <limits.h>
 #include <sys/types.h>
index c5587d07a586d30f7c63112225bc856cc122bcbc..a0e086a36aef4cd86a5d409aa5e10a23e00c948c 100644 (file)
@@ -25,7 +25,6 @@
 
 #include <sys/types.h>
 #include <sys/poll.h>
-#include <dirent.h>
 #include <limits.h>
 #include <string.h>
 #include <stdio.h>