From ab7811db4bcc4b75b7839438f8a22175bdb20035 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A1n=20Tomko?= Date: Sat, 22 Feb 2020 17:01:14 +0100 Subject: [PATCH] conf: reduce includes in virnetworkportdef.h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit All the _conf includes are only needed in the C file. Signed-off-by: Ján Tomko Reviewed-by: Michal Privoznik --- src/conf/virnetworkportdef.c | 4 ++++ src/conf/virnetworkportdef.h | 3 --- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/conf/virnetworkportdef.c b/src/conf/virnetworkportdef.c index f51c7a2605..b58e2ccae0 100644 --- a/src/conf/virnetworkportdef.c +++ b/src/conf/virnetworkportdef.c @@ -29,6 +29,10 @@ #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, diff --git a/src/conf/virnetworkportdef.h b/src/conf/virnetworkportdef.h index 78cf2c1ba4..72da8b6915 100644 --- a/src/conf/virnetworkportdef.h +++ b/src/conf/virnetworkportdef.h @@ -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; -- GitLab