mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
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:
parent
8a96e87e67
commit
8995e91b5f
@ -26,16 +26,10 @@
|
||||
#include <config.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 "virbuffer.h"
|
||||
#include "viralloc.h"
|
||||
#include "virfile.h"
|
||||
#include "virxml.h"
|
||||
#include "conf/network_conf.h"
|
||||
|
||||
virNetworkPtr
|
||||
|
@ -26,16 +26,10 @@
|
||||
#include <config.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 "virbuffer.h"
|
||||
#include "viralloc.h"
|
||||
#include "virfile.h"
|
||||
#include "virxml.h"
|
||||
#include "conf/node_device_conf.h"
|
||||
|
||||
/*
|
||||
|
@ -26,17 +26,11 @@
|
||||
#include <config.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 "virbuffer.h"
|
||||
#include "viralloc.h"
|
||||
#include "virfile.h"
|
||||
#include "virutil.h"
|
||||
#include "virxml.h"
|
||||
|
||||
virNWFilterPtr
|
||||
vshCommandOptNWFilterBy(vshControl *ctl, const vshCmd *cmd,
|
||||
|
@ -26,16 +26,10 @@
|
||||
#include <config.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 "virbuffer.h"
|
||||
#include "viralloc.h"
|
||||
#include "virfile.h"
|
||||
#include "virxml.h"
|
||||
#include "conf/storage_conf.h"
|
||||
#include "virstring.h"
|
||||
|
||||
|
@ -26,18 +26,12 @@
|
||||
#include <config.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 "base64.h"
|
||||
#include "virbuffer.h"
|
||||
#include "viralloc.h"
|
||||
#include "virfile.h"
|
||||
#include "virutil.h"
|
||||
#include "virxml.h"
|
||||
#include "conf/secret_conf.h"
|
||||
|
||||
static virSecretPtr
|
||||
|
@ -44,11 +44,6 @@
|
||||
#include <strings.h>
|
||||
#include <signal.h>
|
||||
|
||||
#include <libxml/parser.h>
|
||||
#include <libxml/tree.h>
|
||||
#include <libxml/xpath.h>
|
||||
#include <libxml/xmlsave.h>
|
||||
|
||||
#if WITH_READLINE
|
||||
# include <readline/readline.h>
|
||||
# include <readline/history.h>
|
||||
@ -56,19 +51,14 @@
|
||||
|
||||
#include "internal.h"
|
||||
#include "virerror.h"
|
||||
#include "base64.h"
|
||||
#include "virbuffer.h"
|
||||
#include "viralloc.h"
|
||||
#include "virxml.h"
|
||||
#include <libvirt/libvirt-qemu.h>
|
||||
#include <libvirt/libvirt-lxc.h>
|
||||
#include "virfile.h"
|
||||
#include "configmake.h"
|
||||
#include "virthread.h"
|
||||
#include "vircommand.h"
|
||||
#include "virkeycode.h"
|
||||
#include "virnetdevbandwidth.h"
|
||||
#include "virbitmap.h"
|
||||
#include "conf/domain_conf.h"
|
||||
#include "virtypedparam.h"
|
||||
#include "virstring.h"
|
||||
|
@ -31,7 +31,6 @@
|
||||
# include <stdarg.h>
|
||||
# include <unistd.h>
|
||||
# include <sys/stat.h>
|
||||
# include <inttypes.h>
|
||||
# include <termios.h>
|
||||
|
||||
# include "internal.h"
|
||||
|
Loading…
Reference in New Issue
Block a user