]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
conf: reduce includes in virnetworkportdef.h
authorJán Tomko <jtomko@redhat.com>
Sat, 22 Feb 2020 16:01:14 +0000 (17:01 +0100)
committerJán Tomko <jtomko@redhat.com>
Tue, 25 Feb 2020 16:50:47 +0000 (17:50 +0100)
All the _conf includes are only needed in the C file.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/conf/virnetworkportdef.c
src/conf/virnetworkportdef.h

index f51c7a260522548d6ee4c5f2a0b0df16de9a2f51..b58e2ccae0c3309e402c216665a2d60cc25bd85b 100644 (file)
 #include "virnetworkportdef.h"
 #include "network_conf.h"
 
+#include "netdev_bandwidth_conf.h"
+#include "netdev_vlan_conf.h"
+#include "netdev_vport_profile_conf.h"
+
 #define VIR_FROM_THIS VIR_FROM_NETWORK
 
 VIR_ENUM_IMPL(virNetworkPortPlug,
index 78cf2c1ba4bc9bd391c71f94d11a49816b54729a..72da8b691587e37a35a74eadc58a9bfe7ba0174c 100644 (file)
@@ -28,9 +28,6 @@
 #include "virnetdevbandwidth.h"
 #include "virpci.h"
 #include "virxml.h"
-#include "netdev_vport_profile_conf.h"
-#include "netdev_bandwidth_conf.h"
-#include "netdev_vlan_conf.h"
 
 typedef struct _virNetworkPortDef virNetworkPortDef;
 typedef virNetworkPortDef *virNetworkPortDefPtr;