mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-27 19:11:16 +00:00
lxc: 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
48e8c36b05
commit
3d5245e3eb
@ -27,9 +27,6 @@
|
|||||||
#include "virfile.h"
|
#include "virfile.h"
|
||||||
#include "virerror.h"
|
#include "virerror.h"
|
||||||
#include "virlog.h"
|
#include "virlog.h"
|
||||||
#include "virstring.h"
|
|
||||||
#include "virsystemd.h"
|
|
||||||
#include "virutil.h"
|
|
||||||
|
|
||||||
#define VIR_FROM_THIS VIR_FROM_LXC
|
#define VIR_FROM_THIS VIR_FROM_LXC
|
||||||
|
|
||||||
|
@ -23,7 +23,6 @@
|
|||||||
|
|
||||||
#include "vircgroup.h"
|
#include "vircgroup.h"
|
||||||
#include "domain_conf.h"
|
#include "domain_conf.h"
|
||||||
#include "lxc_fuse.h"
|
|
||||||
#include "virusb.h"
|
#include "virusb.h"
|
||||||
|
|
||||||
virCgroup *virLXCCgroupCreate(virDomainDef *def,
|
virCgroup *virLXCCgroupCreate(virDomainDef *def,
|
||||||
|
@ -34,7 +34,6 @@
|
|||||||
#include "configmake.h"
|
#include "configmake.h"
|
||||||
#include "lxc_container.h"
|
#include "lxc_container.h"
|
||||||
#include "virnodesuspend.h"
|
#include "virnodesuspend.h"
|
||||||
#include "virstring.h"
|
|
||||||
#include "virfile.h"
|
#include "virfile.h"
|
||||||
|
|
||||||
#define VIR_FROM_THIS VIR_FROM_LXC
|
#define VIR_FROM_THIS VIR_FROM_LXC
|
||||||
|
@ -23,15 +23,11 @@
|
|||||||
|
|
||||||
#include "internal.h"
|
#include "internal.h"
|
||||||
#include "libvirt_internal.h"
|
#include "libvirt_internal.h"
|
||||||
#include "domain_conf.h"
|
|
||||||
#include "domain_event.h"
|
#include "domain_event.h"
|
||||||
#include "capabilities.h"
|
|
||||||
#include "virthread.h"
|
#include "virthread.h"
|
||||||
#include "security/security_manager.h"
|
#include "security/security_manager.h"
|
||||||
#include "configmake.h"
|
#include "configmake.h"
|
||||||
#include "vircgroup.h"
|
|
||||||
#include "virsysinfo.h"
|
#include "virsysinfo.h"
|
||||||
#include "virusb.h"
|
|
||||||
#include "virclosecallbacks.h"
|
#include "virclosecallbacks.h"
|
||||||
#include "virhostdev.h"
|
#include "virhostdev.h"
|
||||||
|
|
||||||
|
@ -52,10 +52,8 @@
|
|||||||
#include "virlog.h"
|
#include "virlog.h"
|
||||||
#include "lxc_container.h"
|
#include "lxc_container.h"
|
||||||
#include "viralloc.h"
|
#include "viralloc.h"
|
||||||
#include "virnetdevveth.h"
|
|
||||||
#include "viruuid.h"
|
#include "viruuid.h"
|
||||||
#include "virfile.h"
|
#include "virfile.h"
|
||||||
#include "virusb.h"
|
|
||||||
#include "vircommand.h"
|
#include "vircommand.h"
|
||||||
#include "virnetdevip.h"
|
#include "virnetdevip.h"
|
||||||
#include "virprocess.h"
|
#include "virprocess.h"
|
||||||
|
@ -20,7 +20,6 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "lxc_conf.h"
|
|
||||||
#include "lxc_domain.h"
|
#include "lxc_domain.h"
|
||||||
#include "security/security_manager.h"
|
#include "security/security_manager.h"
|
||||||
|
|
||||||
|
@ -36,7 +36,6 @@
|
|||||||
#include <sys/mount.h>
|
#include <sys/mount.h>
|
||||||
#include <grp.h>
|
#include <grp.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <time.h>
|
|
||||||
|
|
||||||
#if WITH_CAPNG
|
#if WITH_CAPNG
|
||||||
# include <cap-ng.h>
|
# include <cap-ng.h>
|
||||||
@ -56,15 +55,12 @@
|
|||||||
#include "virfile.h"
|
#include "virfile.h"
|
||||||
#include "virgdbus.h"
|
#include "virgdbus.h"
|
||||||
#include "virpidfile.h"
|
#include "virpidfile.h"
|
||||||
#include "vircommand.h"
|
|
||||||
#include "virhostcpu.h"
|
#include "virhostcpu.h"
|
||||||
#include "virrandom.h"
|
|
||||||
#include "virprocess.h"
|
#include "virprocess.h"
|
||||||
#include "virnuma.h"
|
#include "virnuma.h"
|
||||||
#include "rpc/virnetdaemon.h"
|
#include "rpc/virnetdaemon.h"
|
||||||
#include "virstring.h"
|
#include "virstring.h"
|
||||||
#include "virgettext.h"
|
#include "virgettext.h"
|
||||||
#include "virsocket.h"
|
|
||||||
#include "virutil.h"
|
#include "virutil.h"
|
||||||
|
|
||||||
#define VIR_FROM_THIS VIR_FROM_LXC
|
#define VIR_FROM_THIS VIR_FROM_LXC
|
||||||
|
@ -25,8 +25,6 @@
|
|||||||
|
|
||||||
#include "virlog.h"
|
#include "virlog.h"
|
||||||
#include "virerror.h"
|
#include "virerror.h"
|
||||||
#include "virstring.h"
|
|
||||||
#include "virfile.h"
|
|
||||||
#include "virtime.h"
|
#include "virtime.h"
|
||||||
#include "virsystemd.h"
|
#include "virsystemd.h"
|
||||||
#include "virinitctl.h"
|
#include "virinitctl.h"
|
||||||
|
@ -44,13 +44,11 @@
|
|||||||
#include "lxc_driver.h"
|
#include "lxc_driver.h"
|
||||||
#include "lxc_native.h"
|
#include "lxc_native.h"
|
||||||
#include "lxc_process.h"
|
#include "lxc_process.h"
|
||||||
#include "virnetdevbridge.h"
|
|
||||||
#include "virnetdevveth.h"
|
#include "virnetdevveth.h"
|
||||||
#include "virnetdevopenvswitch.h"
|
#include "virnetdevopenvswitch.h"
|
||||||
#include "virhostcpu.h"
|
#include "virhostcpu.h"
|
||||||
#include "virhostmem.h"
|
#include "virhostmem.h"
|
||||||
#include "viruuid.h"
|
#include "viruuid.h"
|
||||||
#include "virhook.h"
|
|
||||||
#include "virfile.h"
|
#include "virfile.h"
|
||||||
#include "virpidfile.h"
|
#include "virpidfile.h"
|
||||||
#include "virfdstream.h"
|
#include "virfdstream.h"
|
||||||
@ -64,7 +62,6 @@
|
|||||||
#include "virnetdevtap.h"
|
#include "virnetdevtap.h"
|
||||||
#include "virnodesuspend.h"
|
#include "virnodesuspend.h"
|
||||||
#include "virprocess.h"
|
#include "virprocess.h"
|
||||||
#include "virtime.h"
|
|
||||||
#include "virtypedparam.h"
|
#include "virtypedparam.h"
|
||||||
#include "viruri.h"
|
#include "viruri.h"
|
||||||
#include "virstring.h"
|
#include "virstring.h"
|
||||||
@ -72,7 +69,6 @@
|
|||||||
#include "viraccessapichecklxc.h"
|
#include "viraccessapichecklxc.h"
|
||||||
#include "virhostdev.h"
|
#include "virhostdev.h"
|
||||||
#include "netdev_bandwidth_conf.h"
|
#include "netdev_bandwidth_conf.h"
|
||||||
#include "virsocket.h"
|
|
||||||
#include "virutil.h"
|
#include "virutil.h"
|
||||||
|
|
||||||
#define VIR_FROM_THIS VIR_FROM_LXC
|
#define VIR_FROM_THIS VIR_FROM_LXC
|
||||||
|
@ -43,7 +43,6 @@
|
|||||||
#include "virerror.h"
|
#include "virerror.h"
|
||||||
#include "virfile.h"
|
#include "virfile.h"
|
||||||
#include "virbuffer.h"
|
#include "virbuffer.h"
|
||||||
#include "virstring.h"
|
|
||||||
#include "virutil.h"
|
#include "virutil.h"
|
||||||
|
|
||||||
#define VIR_FROM_THIS VIR_FROM_LXC
|
#define VIR_FROM_THIS VIR_FROM_LXC
|
||||||
|
@ -21,14 +21,12 @@
|
|||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
#include "lxc_monitor.h"
|
#include "lxc_monitor.h"
|
||||||
#include "lxc_conf.h"
|
|
||||||
#include "lxc_monitor_dispatch.h"
|
#include "lxc_monitor_dispatch.h"
|
||||||
|
|
||||||
#include "virerror.h"
|
#include "virerror.h"
|
||||||
#include "virlog.h"
|
#include "virlog.h"
|
||||||
#include "virthread.h"
|
#include "virthread.h"
|
||||||
#include "rpc/virnetclient.h"
|
#include "rpc/virnetclient.h"
|
||||||
#include "virstring.h"
|
|
||||||
|
|
||||||
#define VIR_FROM_THIS VIR_FROM_LXC
|
#define VIR_FROM_THIS VIR_FROM_LXC
|
||||||
|
|
||||||
|
@ -25,7 +25,6 @@
|
|||||||
#include "lxc_container.h"
|
#include "lxc_container.h"
|
||||||
#include "lxc_native.h"
|
#include "lxc_native.h"
|
||||||
#include "util/viralloc.h"
|
#include "util/viralloc.h"
|
||||||
#include "util/virfile.h"
|
|
||||||
#include "util/virlog.h"
|
#include "util/virlog.h"
|
||||||
#include "util/virstring.h"
|
#include "util/virstring.h"
|
||||||
#include "util/virconf.h"
|
#include "util/virconf.h"
|
||||||
|
@ -29,8 +29,6 @@
|
|||||||
#include "lxc_process.h"
|
#include "lxc_process.h"
|
||||||
#include "lxc_domain.h"
|
#include "lxc_domain.h"
|
||||||
#include "lxc_container.h"
|
#include "lxc_container.h"
|
||||||
#include "lxc_cgroup.h"
|
|
||||||
#include "lxc_fuse.h"
|
|
||||||
#include "datatypes.h"
|
#include "datatypes.h"
|
||||||
#include "virfile.h"
|
#include "virfile.h"
|
||||||
#include "virpidfile.h"
|
#include "virpidfile.h"
|
||||||
@ -48,9 +46,7 @@
|
|||||||
#include "vircommand.h"
|
#include "vircommand.h"
|
||||||
#include "lxc_hostdev.h"
|
#include "lxc_hostdev.h"
|
||||||
#include "virhook.h"
|
#include "virhook.h"
|
||||||
#include "virstring.h"
|
|
||||||
#include "virprocess.h"
|
#include "virprocess.h"
|
||||||
#include "virsystemd.h"
|
|
||||||
#include "netdev_bandwidth_conf.h"
|
#include "netdev_bandwidth_conf.h"
|
||||||
#include "virutil.h"
|
#include "virutil.h"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user