]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
Remove unnecessary includes from virsh.h
authorJán Tomko <jtomko@redhat.com>
Wed, 1 Apr 2015 15:09:04 +0000 (17:09 +0200)
committerJán Tomko <jtomko@redhat.com>
Thu, 2 Apr 2015 08:27:56 +0000 (10:27 +0200)
Include them in the files that need them instead.

tools/virsh-domain.c
tools/virsh-network.c
tools/virsh-nodedev.c
tools/virsh-snapshot.c
tools/virsh.h

index 9bbb964c548fe663d075b4c4886175a93d527882..eee441fd7203813753b2e753537ed9527636b69b 100644 (file)
@@ -47,6 +47,7 @@
 #include "virjson.h"
 #include "virkeycode.h"
 #include "virmacaddr.h"
+#include "virnetdevbandwidth.h"
 #include "virprocess.h"
 #include "virstring.h"
 #include "virsh-console.h"
index 39f0266588e37b27e9bb1b815926fea1c7a1a3c6..09ee11af9247d2fba3df843308197ddfa69cec28 100644 (file)
@@ -30,6 +30,7 @@
 #include "virbuffer.h"
 #include "viralloc.h"
 #include "virfile.h"
+#include "virstring.h"
 #include "conf/network_conf.h"
 
 virNetworkPtr
index 847e5b0b168562e7b8f32dcdc2babb79990b3ea4..0d7315c02e6ca23aa9bb12765e53d39de1455fbf 100644 (file)
@@ -30,6 +30,7 @@
 #include "virbuffer.h"
 #include "viralloc.h"
 #include "virfile.h"
+#include "virstring.h"
 #include "conf/node_device_conf.h"
 
 /*
index 1bb74a68e842d0dbf86e9dba889e5d6ea9a68773..459a8a895b1cfde25979aa19b89d4361d7489625 100644 (file)
@@ -38,6 +38,7 @@
 #include "viralloc.h"
 #include "virfile.h"
 #include "virsh-domain.h"
+#include "virstring.h"
 #include "virxml.h"
 #include "conf/snapshot_conf.h"
 
index 3c28454cfaad1506486497e347a2e89627eade8e..e89d31586a40625ee7420c32a87a39a51804ba17 100644 (file)
@@ -36,8 +36,6 @@
 # include "internal.h"
 # include "virerror.h"
 # include "virthread.h"
-# include "virnetdevbandwidth.h"
-# include "virstring.h"
 
 # define VSH_MAX_XML_FILE (10*1024*1024)