[libvirt] [PATCH 1/4] lxc: remove duplicate header files

Mao Zhongyi maozhongyi at cmss.chinamobile.com
Wed Oct 30 03:42:10 UTC 2019


"#include vircgroup.h" appears in both lxc_cgroup.h and
lxc_cgroup.c, and lxc_cgroup.c contains lxc_cgroup.h,
so remove the duplicate declarations.

Signed-off-by: Mao Zhongyi <maozhongyi at cmss.chinamobile.com>
Signed-off-by: Zhang Shengju <zhangshengju at cmss.chinamobile.com>
---
 src/lxc/lxc_cgroup.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/lxc/lxc_cgroup.c b/src/lxc/lxc_cgroup.c
index 5efb495b56..0a019dc813 100644
--- a/src/lxc/lxc_cgroup.c
+++ b/src/lxc/lxc_cgroup.c
@@ -27,7 +27,6 @@
 #include "virerror.h"
 #include "virlog.h"
 #include "viralloc.h"
-#include "vircgroup.h"
 #include "virstring.h"
 #include "virsystemd.h"
 
-- 
2.17.1






More information about the libvir-list mailing list