Remove unused includes from virsh

After splitting out most of virsh command, some includes
are no longer needed.

Some files have the libXML includes despite not needing them.
This commit is contained in:
Ján Tomko 2015-04-01 16:50:17 +02:00
parent 8a96e87e67
commit 8995e91b5f
7 changed files with 0 additions and 41 deletions

View File

@ -26,16 +26,10 @@
#include <config.h> #include <config.h>
#include "virsh-network.h" #include "virsh-network.h"
#include <libxml/parser.h>
#include <libxml/tree.h>
#include <libxml/xpath.h>
#include <libxml/xmlsave.h>
#include "internal.h" #include "internal.h"
#include "virbuffer.h" #include "virbuffer.h"
#include "viralloc.h" #include "viralloc.h"
#include "virfile.h" #include "virfile.h"
#include "virxml.h"
#include "conf/network_conf.h" #include "conf/network_conf.h"
virNetworkPtr virNetworkPtr

View File

@ -26,16 +26,10 @@
#include <config.h> #include <config.h>
#include "virsh-nodedev.h" #include "virsh-nodedev.h"
#include <libxml/parser.h>
#include <libxml/tree.h>
#include <libxml/xpath.h>
#include <libxml/xmlsave.h>
#include "internal.h" #include "internal.h"
#include "virbuffer.h" #include "virbuffer.h"
#include "viralloc.h" #include "viralloc.h"
#include "virfile.h" #include "virfile.h"
#include "virxml.h"
#include "conf/node_device_conf.h" #include "conf/node_device_conf.h"
/* /*

View File

@ -26,17 +26,11 @@
#include <config.h> #include <config.h>
#include "virsh-nwfilter.h" #include "virsh-nwfilter.h"
#include <libxml/parser.h>
#include <libxml/tree.h>
#include <libxml/xpath.h>
#include <libxml/xmlsave.h>
#include "internal.h" #include "internal.h"
#include "virbuffer.h" #include "virbuffer.h"
#include "viralloc.h" #include "viralloc.h"
#include "virfile.h" #include "virfile.h"
#include "virutil.h" #include "virutil.h"
#include "virxml.h"
virNWFilterPtr virNWFilterPtr
vshCommandOptNWFilterBy(vshControl *ctl, const vshCmd *cmd, vshCommandOptNWFilterBy(vshControl *ctl, const vshCmd *cmd,

View File

@ -26,16 +26,10 @@
#include <config.h> #include <config.h>
#include "virsh-pool.h" #include "virsh-pool.h"
#include <libxml/parser.h>
#include <libxml/tree.h>
#include <libxml/xpath.h>
#include <libxml/xmlsave.h>
#include "internal.h" #include "internal.h"
#include "virbuffer.h" #include "virbuffer.h"
#include "viralloc.h" #include "viralloc.h"
#include "virfile.h" #include "virfile.h"
#include "virxml.h"
#include "conf/storage_conf.h" #include "conf/storage_conf.h"
#include "virstring.h" #include "virstring.h"

View File

@ -26,18 +26,12 @@
#include <config.h> #include <config.h>
#include "virsh-secret.h" #include "virsh-secret.h"
#include <libxml/parser.h>
#include <libxml/tree.h>
#include <libxml/xpath.h>
#include <libxml/xmlsave.h>
#include "internal.h" #include "internal.h"
#include "base64.h" #include "base64.h"
#include "virbuffer.h" #include "virbuffer.h"
#include "viralloc.h" #include "viralloc.h"
#include "virfile.h" #include "virfile.h"
#include "virutil.h" #include "virutil.h"
#include "virxml.h"
#include "conf/secret_conf.h" #include "conf/secret_conf.h"
static virSecretPtr static virSecretPtr

View File

@ -44,11 +44,6 @@
#include <strings.h> #include <strings.h>
#include <signal.h> #include <signal.h>
#include <libxml/parser.h>
#include <libxml/tree.h>
#include <libxml/xpath.h>
#include <libxml/xmlsave.h>
#if WITH_READLINE #if WITH_READLINE
# include <readline/readline.h> # include <readline/readline.h>
# include <readline/history.h> # include <readline/history.h>
@ -56,19 +51,14 @@
#include "internal.h" #include "internal.h"
#include "virerror.h" #include "virerror.h"
#include "base64.h"
#include "virbuffer.h" #include "virbuffer.h"
#include "viralloc.h" #include "viralloc.h"
#include "virxml.h"
#include <libvirt/libvirt-qemu.h> #include <libvirt/libvirt-qemu.h>
#include <libvirt/libvirt-lxc.h> #include <libvirt/libvirt-lxc.h>
#include "virfile.h" #include "virfile.h"
#include "configmake.h" #include "configmake.h"
#include "virthread.h" #include "virthread.h"
#include "vircommand.h" #include "vircommand.h"
#include "virkeycode.h"
#include "virnetdevbandwidth.h"
#include "virbitmap.h"
#include "conf/domain_conf.h" #include "conf/domain_conf.h"
#include "virtypedparam.h" #include "virtypedparam.h"
#include "virstring.h" #include "virstring.h"

View File

@ -31,7 +31,6 @@
# include <stdarg.h> # include <stdarg.h>
# include <unistd.h> # include <unistd.h>
# include <sys/stat.h> # include <sys/stat.h>
# include <inttypes.h>
# include <termios.h> # include <termios.h>
# include "internal.h" # include "internal.h"