mirror of https://gitee.com/openkylin/libvirt.git
conf: reduce includes in virnetworkportdef.h
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>
This commit is contained in:
parent
feb69a19ac
commit
ab7811db4b
|
@ -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,
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue