]> git.proxmox.com Git - mirror_qemu.git/commitdiff
maint: remove unused include for dirent.h
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 26 Aug 2015 11:17:15 +0000 (12:17 +0100)
committerMichael Tokarev <mjt@tls.msk.ru>
Fri, 11 Sep 2015 07:21:38 +0000 (10:21 +0300)
A number of files were including dirent.h but not using any
of the functions it provides

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
fsdev/virtio-9p-marshal.c
hw/tpm/tpm_passthrough.c
hw/usb/redirect.c
hw/vfio/pci.c
qemu-char.c

index 20f308b76025d0f62d0143a5614f4b3797e073d6..7748d320751f049b1b9592970859bfc39d92196d 100644 (file)
@@ -14,7 +14,6 @@
 #include <glib.h>
 #include <glib/gprintf.h>
 #include <sys/types.h>
-#include <dirent.h>
 #include <sys/time.h>
 #include <utime.h>
 #include <sys/uio.h>
index 79a8f98af027e5ea8b473153e886404449dc3fa3..be160c19b3cd2d5a78c355fd2040dd942d122e10 100644 (file)
@@ -22,8 +22,6 @@
  * License along with this library; if not, see <http://www.gnu.org/licenses/>
  */
 
-#include <dirent.h>
-
 #include "qemu-common.h"
 #include "qapi/error.h"
 #include "qemu/error-report.h"
index 25df25fd0f038127f72639bb345da17f8687d02d..34cf60d2061e5e372bf11e7cec11338092642d68 100644 (file)
@@ -33,7 +33,6 @@
 #include "qemu/iov.h"
 #include "sysemu/char.h"
 
-#include <dirent.h>
 #include <sys/ioctl.h>
 #include <signal.h>
 #include <usbredirparser.h>
index 4023d8e82367174eb90e9c865404eab05ce2a4d2..5d0209921037a897c09603caaafb5ae9740c2746 100644 (file)
@@ -18,7 +18,6 @@
  *  Copyright (C) 2008, IBM, Muli Ben-Yehuda (muli@il.ibm.com)
  */
 
-#include <dirent.h>
 #include <linux/vfio.h>
 #include <sys/ioctl.h>
 #include <sys/mman.h>
index d956f8db6c12a198ca6300507d7975deb20f1458..fa651594a063981a8a3295d3516bd4340a704d33 100644 (file)
@@ -51,7 +51,6 @@
 #include <netinet/in.h>
 #include <net/if.h>
 #include <arpa/inet.h>
-#include <dirent.h>
 #include <netdb.h>
 #include <sys/select.h>
 #ifdef CONFIG_BSD