From nobody Sun Feb 8 06:55:39 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) client-ip=205.139.110.61; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1582389376; cv=none; d=zohomail.com; s=zohoarc; b=eDMW2Cm3GpzlVJBTPeLEjTHNFFjKXjsOWDhZAREfUVc32cN+YcPPM2Wa5wnYPpmqhPD47M8Yt1UI1klxnamMU9tt1Xzp3cFGCUf4067DAr/QmcG6pB9bDh1ZSfMTFwE0VlWIqPt2sYc9q0kGqW6SsAQjMTJV/A8GGS7akGMx5Qs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1582389376; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=5NiU0Os2M7rmtLtOUFZmyhT6bpXRYAjbQy4cAUI8uxE=; b=SWkWBrtHnBgHSQOSbctOQVT5CYvjzRgqUwYGOI+hXzMpoqxDnTyLi/YoKp+KAu3U7tEKZhapbjAa7B16EslwNOYzQ6CAQRGlzwmTmrYHjW7pTUqrNBO1AAzcWNWVS0R+VFamwTbsf4h2cYhUk4ESPOFzR7XGi73gSIvcJl7ER1Q= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-1.mimecast.com (us-smtp-2.mimecast.com [205.139.110.61]) by mx.zohomail.com with SMTPS id 1582389376060588.3804892675762; Sat, 22 Feb 2020 08:36:16 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-330-W8eOjo_6O0uShdDceGl5mg-1; Sat, 22 Feb 2020 11:36:12 -0500 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 365F013F5; Sat, 22 Feb 2020 16:36:07 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 060C85D9E2; Sat, 22 Feb 2020 16:36:07 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id AB70C18089D0; Sat, 22 Feb 2020 16:36:06 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 01MGWGK8013622 for ; Sat, 22 Feb 2020 11:32:17 -0500 Received: by smtp.corp.redhat.com (Postfix) id F14A75C1C3; Sat, 22 Feb 2020 16:32:16 +0000 (UTC) Received: from lpt.redhat.com (ovpn-200-17.brq.redhat.com [10.40.200.17]) by smtp.corp.redhat.com (Postfix) with ESMTP id 299415C1B5 for ; Sat, 22 Feb 2020 16:32:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1582389374; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=5NiU0Os2M7rmtLtOUFZmyhT6bpXRYAjbQy4cAUI8uxE=; b=hSmZ0bYRwa+vXgaEKuijecWRa8Cs5Ysse9SUCZHJ8pvZsPJbSA/+hjOk8HA7r9nDANaJKb ETHVLgCO3PkQg6qaHFKup4FEGxkxW6BQzmiDcYsREHnNyvQiDpvikS6Amf1LynzC2VDZuP R94peiQPWlEfv4vmAx/mex8UAM6x/X8= X-MC-Unique: W8eOjo_6O0uShdDceGl5mg-1 From: =?UTF-8?q?J=C3=A1n=20Tomko?= To: libvir-list@redhat.com Subject: [libvirt PATCH 7/8] conf: reduce includes in virnetworkportdef.h Date: Sat, 22 Feb 2020 17:31:58 +0100 Message-Id: <5d3441bbda5d5dddc9760b03149c4db827cfdbb9.1582389117.git.jtomko@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" All the _conf includes are only needed in the C file. Signed-off-by: J=C3=A1n Tomko --- 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 a972b698cc..66d900088a 100644 --- a/src/conf/virnetworkportdef.c +++ b/src/conf/virnetworkportdef.c @@ -28,6 +28,10 @@ #include "virnetworkportdef.h" #include "network_conf.h" =20 +#include "netdev_bandwidth_conf.h" +#include "netdev_vlan_conf.h" +#include "netdev_vport_profile_conf.h" + #define VIR_FROM_THIS VIR_FROM_NETWORK =20 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" =20 typedef struct _virNetworkPortDef virNetworkPortDef; typedef virNetworkPortDef *virNetworkPortDefPtr; --=20 2.24.1