mirror of https://gitee.com/openkylin/libvirt.git
tools: Remove unused includes
Signed-off-by: Peng Liang <tcx4c70@gmail.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
b3bb252a3b
commit
1ce16ae098
|
@ -33,9 +33,7 @@
|
|||
#include "viralloc.h"
|
||||
#include "virfile.h"
|
||||
#include "virsh-util.h"
|
||||
#include "virstring.h"
|
||||
#include "virxml.h"
|
||||
#include "conf/checkpoint_conf.h"
|
||||
#include "vsh-table.h"
|
||||
|
||||
/* Helper for checkpoint-create and checkpoint-create-as */
|
||||
|
|
|
@ -21,10 +21,8 @@
|
|||
#include <config.h>
|
||||
|
||||
#include "virsh-completer-checkpoint.h"
|
||||
#include "viralloc.h"
|
||||
#include "virsh-util.h"
|
||||
#include "virsh.h"
|
||||
#include "virstring.h"
|
||||
|
||||
char **
|
||||
virshCheckpointNameCompleter(vshControl *ctl,
|
||||
|
|
|
@ -27,7 +27,6 @@
|
|||
#include "virsh-domain-monitor.h"
|
||||
#include "virsh-util.h"
|
||||
#include "virsh.h"
|
||||
#include "virstring.h"
|
||||
#include "virxml.h"
|
||||
#include "virperf.h"
|
||||
#include "virbitmap.h"
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
#include <config.h>
|
||||
|
||||
#include "virsh-completer-host.h"
|
||||
#include "viralloc.h"
|
||||
#include "virsh.h"
|
||||
#include "virstring.h"
|
||||
#include "virxml.h"
|
||||
|
|
|
@ -22,9 +22,7 @@
|
|||
|
||||
#include "virsh-completer-interface.h"
|
||||
#include "virsh-util.h"
|
||||
#include "viralloc.h"
|
||||
#include "virsh.h"
|
||||
#include "virstring.h"
|
||||
|
||||
typedef const char *
|
||||
(*virInterfaceStringCallback)(virInterfacePtr iface);
|
||||
|
|
|
@ -25,7 +25,6 @@
|
|||
#include "viralloc.h"
|
||||
#include "virsh-network.h"
|
||||
#include "virsh.h"
|
||||
#include "virstring.h"
|
||||
|
||||
char **
|
||||
virshNetworkNameCompleter(vshControl *ctl,
|
||||
|
|
|
@ -24,10 +24,8 @@
|
|||
#include "virsh-util.h"
|
||||
#include "conf/node_device_conf.h"
|
||||
#include "conf/domain_conf.h"
|
||||
#include "viralloc.h"
|
||||
#include "virsh-nodedev.h"
|
||||
#include "virsh.h"
|
||||
#include "virstring.h"
|
||||
|
||||
char **
|
||||
virshNodeDeviceNameCompleter(vshControl *ctl,
|
||||
|
|
|
@ -22,9 +22,7 @@
|
|||
|
||||
#include "virsh-completer-nwfilter.h"
|
||||
#include "virsh-util.h"
|
||||
#include "viralloc.h"
|
||||
#include "virsh.h"
|
||||
#include "virstring.h"
|
||||
|
||||
char **
|
||||
virshNWFilterNameCompleter(vshControl *ctl,
|
||||
|
|
|
@ -23,10 +23,8 @@
|
|||
#include "virsh-completer-pool.h"
|
||||
#include "virsh-util.h"
|
||||
#include "conf/storage_conf.h"
|
||||
#include "viralloc.h"
|
||||
#include "virsh-pool.h"
|
||||
#include "virsh.h"
|
||||
#include "virstring.h"
|
||||
|
||||
char **
|
||||
virshStoragePoolNameCompleter(vshControl *ctl,
|
||||
|
|
|
@ -21,11 +21,9 @@
|
|||
#include <config.h>
|
||||
|
||||
#include "virsh-completer-secret.h"
|
||||
#include "viralloc.h"
|
||||
#include "virsh-secret.h"
|
||||
#include "virsh-util.h"
|
||||
#include "virsh.h"
|
||||
#include "virstring.h"
|
||||
|
||||
char **
|
||||
virshSecretUUIDCompleter(vshControl *ctl,
|
||||
|
|
|
@ -21,10 +21,8 @@
|
|||
#include <config.h>
|
||||
|
||||
#include "virsh-completer-snapshot.h"
|
||||
#include "viralloc.h"
|
||||
#include "virsh-util.h"
|
||||
#include "virsh.h"
|
||||
#include "virstring.h"
|
||||
|
||||
char **
|
||||
virshSnapshotNameCompleter(vshControl *ctl,
|
||||
|
|
|
@ -22,10 +22,8 @@
|
|||
|
||||
#include "virsh-completer-volume.h"
|
||||
#include "virsh-util.h"
|
||||
#include "viralloc.h"
|
||||
#include "virsh-pool.h"
|
||||
#include "virsh.h"
|
||||
#include "virstring.h"
|
||||
#include "virsh-volume.h"
|
||||
|
||||
char **
|
||||
|
|
|
@ -21,8 +21,6 @@
|
|||
#include <config.h>
|
||||
|
||||
#include "virsh-completer.h"
|
||||
#include "viralloc.h"
|
||||
#include "virstring.h"
|
||||
|
||||
/**
|
||||
* A completer callback is a function that accepts three arguments:
|
||||
|
|
|
@ -35,7 +35,6 @@
|
|||
# include "virsh-console.h"
|
||||
# include "virsh-util.h"
|
||||
# include "virlog.h"
|
||||
# include "virfile.h"
|
||||
# include "viralloc.h"
|
||||
# include "virthread.h"
|
||||
# include "virerror.h"
|
||||
|
|
|
@ -17,13 +17,11 @@
|
|||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include "virsh-domain-event.h"
|
||||
#include "virsh-util.h"
|
||||
|
||||
#include "internal.h"
|
||||
#include "viralloc.h"
|
||||
#include "virenum.h"
|
||||
#include "virutil.h"
|
||||
#include "virtime.h"
|
||||
#include "virtypedparam.h"
|
||||
|
||||
|
|
|
@ -44,7 +44,6 @@
|
|||
#include "virsh-console.h"
|
||||
#include "virsh-domain-monitor.h"
|
||||
#include "virsh-host.h"
|
||||
#include "virerror.h"
|
||||
#include "virtime.h"
|
||||
#include "virtypedparam.h"
|
||||
#include "virxml.h"
|
||||
|
|
|
@ -26,7 +26,6 @@
|
|||
#include "internal.h"
|
||||
#include "viralloc.h"
|
||||
#include "virfile.h"
|
||||
#include "virstring.h"
|
||||
#include "virtime.h"
|
||||
#include "conf/node_device_conf.h"
|
||||
#include "virenum.h"
|
||||
|
|
|
@ -27,7 +27,6 @@
|
|||
#include "viralloc.h"
|
||||
#include "virfile.h"
|
||||
#include "conf/storage_conf.h"
|
||||
#include "virstring.h"
|
||||
#include "virtime.h"
|
||||
#include "vsh-table.h"
|
||||
#include "virenum.h"
|
||||
|
|
|
@ -31,7 +31,6 @@
|
|||
#include "viralloc.h"
|
||||
#include "virfile.h"
|
||||
#include "virsh-util.h"
|
||||
#include "virstring.h"
|
||||
#include "virxml.h"
|
||||
#include "conf/virdomainsnapshotobjlist.h"
|
||||
#include "vsh-table.h"
|
||||
|
|
|
@ -22,7 +22,6 @@
|
|||
|
||||
#include "virfile.h"
|
||||
#include "virstring.h"
|
||||
#include "viralloc.h"
|
||||
#include "virxml.h"
|
||||
|
||||
static virDomainPtr
|
||||
|
|
|
@ -21,29 +21,22 @@
|
|||
#include <config.h>
|
||||
#include "virsh.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <unistd.h>
|
||||
#include <getopt.h>
|
||||
#include <sys/time.h>
|
||||
#include <fcntl.h>
|
||||
#include <time.h>
|
||||
#include <sys/stat.h>
|
||||
#include <inttypes.h>
|
||||
|
||||
#include "internal.h"
|
||||
#include "virerror.h"
|
||||
#include "virbuffer.h"
|
||||
#include "viralloc.h"
|
||||
#include "virfile.h"
|
||||
#include "virthread.h"
|
||||
#include "vircommand.h"
|
||||
#include "virtypedparam.h"
|
||||
#include "virstring.h"
|
||||
#include "virgettext.h"
|
||||
|
||||
#include "virsh-backup.h"
|
||||
#include "virsh-checkpoint.h"
|
||||
#include "virsh-console.h"
|
||||
#include "virsh-domain.h"
|
||||
#include "virsh-domain-event.h"
|
||||
#include "virsh-domain-monitor.h"
|
||||
|
|
|
@ -23,8 +23,6 @@
|
|||
#include <unistd.h>
|
||||
|
||||
#include "internal.h"
|
||||
#include "virerror.h"
|
||||
#include "virthread.h"
|
||||
#include "virpolkit.h"
|
||||
#include "vsh.h"
|
||||
#include "virsh-completer.h"
|
||||
|
|
|
@ -32,7 +32,6 @@
|
|||
#include "virstring.h"
|
||||
#include "virthread.h"
|
||||
#include "virgettext.h"
|
||||
#include "virtime.h"
|
||||
#include "virt-admin-completer.h"
|
||||
#include "vsh-table.h"
|
||||
#include "virenum.h"
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
|
||||
#include <getopt.h>
|
||||
#include <signal.h>
|
||||
#include <stdarg.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "internal.h"
|
||||
|
|
|
@ -22,7 +22,6 @@
|
|||
#include "vsh-table.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <stddef.h>
|
||||
#include <wchar.h>
|
||||
#include <wctype.h>
|
||||
|
||||
|
|
|
@ -26,7 +26,6 @@
|
|||
#include <unistd.h>
|
||||
#include <fcntl.h>
|
||||
#include <sys/stat.h>
|
||||
#include <inttypes.h>
|
||||
#include <signal.h>
|
||||
|
||||
#if WITH_READLINE
|
||||
|
|
|
@ -26,7 +26,6 @@
|
|||
#endif
|
||||
|
||||
#include "internal.h"
|
||||
#include "virerror.h"
|
||||
#include "virthread.h"
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_NONE
|
||||
|
|
Loading…
Reference in New Issue