From nobody Mon Feb 9 19:00:00 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail(p=none dis=none) header.from=gmail.com Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 1652277450894437.8372313889091; Wed, 11 May 2022 06:57:30 -0700 (PDT) Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-170-zLr4e705NyiFnseq6FND9A-1; Wed, 11 May 2022 09:57:25 -0400 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 89E361C0012F; Wed, 11 May 2022 13:57:21 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 74D894411C7; Wed, 11 May 2022 13:57:21 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 489CA1947B84; Wed, 11 May 2022 13:57:21 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 7FAE4193F6F3 for ; Wed, 11 May 2022 13:57:18 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 70F1F40CF8EB; Wed, 11 May 2022 13:57:18 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast07.extmail.prod.ext.rdu2.redhat.com [10.11.55.23]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 699D540CF8E4 for ; Wed, 11 May 2022 13:57:18 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-1.mimecast.com [207.211.31.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 513A13C161B0 for ; Wed, 11 May 2022 13:57:18 +0000 (UTC) Received: from mail-pf1-f180.google.com (mail-pf1-f180.google.com [209.85.210.180]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-3-_OlwZrX6MZmaIdFXqRHEfw-1; Wed, 11 May 2022 09:57:16 -0400 Received: by mail-pf1-f180.google.com with SMTP id c14so2076567pfn.2 for ; Wed, 11 May 2022 06:57:16 -0700 (PDT) Received: from localhost.lan ([112.10.225.220]) by smtp.gmail.com with ESMTPSA id pc11-20020a17090b3b8b00b001dc4d22c0a7sm1919817pjb.10.2022.05.11.06.57.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 May 2022 06:57:14 -0700 (PDT) X-MC-Unique: zLr4e705NyiFnseq6FND9A-1 X-Original-To: libvir-list@listman.corp.redhat.com X-MC-Unique: _OlwZrX6MZmaIdFXqRHEfw-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=9GfTiGYYAkBbEGdw5Xn6POBBhKeoXKrn7wyb56EoezE=; b=lTD6+X1x48p7UT/hVGCpqiLVX54BUghatO2g9K7mblZ8JdrStOStUEEFJt5fFFLFDE 3MHkrrFrSMYXNxlEa0NViSJeIFWqCloHjH8oGL2+FMfzU+L0Dv4tKPoJnXULuMkevZZP LaRXdjcUeT4ERDOK8jH4QPiMYVh+hfH1k7Wgaeq8b2qoP2SORQ+FjDDilMohhWU05hoL l2xVwzN+mXsAjrpn3dyRtuLOwka9KuukbdOhjS0y1eRNFLJI58/yUEXHdlKZd6P2erz8 18l4xpXrmpc16DqUN3IKwyZPuGmTRYXgQQoJOQ0gGbH36yd6mHUJqXIZNVs94HXt5gvI Zg4Q== X-Gm-Message-State: AOAM532JCTupRV11MILFDET22Z/q87P6FC5U348aK2Ra73VZbsYMDFR6 FW/jvJPyCYMWPNfgIZE9JKSC25iGbUJKU4EP X-Google-Smtp-Source: ABdhPJxarbGW7U5jP8cxedKG6JA1kirY0naPx0HUKhcwCyOQAupeZV5n+yuKJ2kX51plDjiPIyp64Q== X-Received: by 2002:a63:3:0:b0:3c3:79e4:156 with SMTP id 3-20020a630003000000b003c379e40156mr20738418pga.506.1652277435059; Wed, 11 May 2022 06:57:15 -0700 (PDT) From: Peng Liang To: libvir-list@redhat.com Subject: [PATCH 24/29] vbox: Remove unused includes Date: Wed, 11 May 2022 21:55:25 +0800 Message-Id: <20220511135530.951850-25-tcx4c70@gmail.com> In-Reply-To: <20220511135530.951850-1-tcx4c70@gmail.com> References: <20220511135530.951850-1-tcx4c70@gmail.com> MIME-Version: 1.0 X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false X-Scanned-By: MIMEDefang 2.84 on 10.11.54.1 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Adam Tao Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 2.85 on 10.11.54.9 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZM-MESSAGEID: 1652277451210100002 Content-Type: text/plain; charset="utf-8"; x-default="true" From: Adam Tao Signed-off-by: Peng Liang --- src/vbox/vbox_XPCOMCGlue.c | 3 --- src/vbox/vbox_common.h | 1 - src/vbox/vbox_driver.c | 2 -- src/vbox/vbox_driver.h | 2 -- src/vbox/vbox_get_driver.h | 2 -- src/vbox/vbox_network.c | 2 -- src/vbox/vbox_storage.c | 3 --- src/vbox/vbox_tmpl.c | 1 - src/vbox/vbox_uniformed_api.h | 2 -- 9 files changed, 18 deletions(-) diff --git a/src/vbox/vbox_XPCOMCGlue.c b/src/vbox/vbox_XPCOMCGlue.c index d7b4ae9aad..77a3041612 100644 --- a/src/vbox/vbox_XPCOMCGlue.c +++ b/src/vbox/vbox_XPCOMCGlue.c @@ -34,11 +34,8 @@ #include "vbox_XPCOMCGlue.h" #include "internal.h" #include "viralloc.h" -#include "virutil.h" #include "virlog.h" -#include "virerror.h" #include "virfile.h" -#include "virstring.h" =20 #define VIR_FROM_THIS VIR_FROM_VBOX =20 diff --git a/src/vbox/vbox_common.h b/src/vbox/vbox_common.h index 1fb922aaf0..ce66c7aa7b 100644 --- a/src/vbox/vbox_common.h +++ b/src/vbox/vbox_common.h @@ -23,7 +23,6 @@ # error this file should not be included after vbox_CAPI_v*.h #endif =20 -#include "internal.h" #include #include "wchar.h" =20 diff --git a/src/vbox/vbox_driver.c b/src/vbox/vbox_driver.c index 740af56a13..c64b1b3e43 100644 --- a/src/vbox/vbox_driver.c +++ b/src/vbox/vbox_driver.c @@ -38,8 +38,6 @@ #include "vbox_driver.h" #include "vbox_XPCOMCGlue.h" #include "virerror.h" -#include "domain_event.h" -#include "domain_conf.h" =20 #include "vbox_get_driver.h" =20 diff --git a/src/vbox/vbox_driver.h b/src/vbox/vbox_driver.h index bcbdf12bc9..bd53e8ee10 100644 --- a/src/vbox/vbox_driver.h +++ b/src/vbox/vbox_driver.h @@ -24,8 +24,6 @@ =20 #pragma once =20 -#include "internal.h" - #if defined(VBOX_NETWORK_DRIVER) int vboxNetworkRegister(void); #endif diff --git a/src/vbox/vbox_get_driver.h b/src/vbox/vbox_get_driver.h index 84b5d03bd9..edfae770dc 100644 --- a/src/vbox/vbox_get_driver.h +++ b/src/vbox/vbox_get_driver.h @@ -18,8 +18,6 @@ =20 #pragma once =20 -#include "internal.h" - virHypervisorDriver *vboxGetHypervisorDriver(uint32_t uVersion); virNetworkDriver *vboxGetNetworkDriver(uint32_t uVersion); virStorageDriver *vboxGetStorageDriver(uint32_t uVersion); diff --git a/src/vbox/vbox_network.c b/src/vbox/vbox_network.c index 9c27ccda56..f687ebbf1a 100644 --- a/src/vbox/vbox_network.c +++ b/src/vbox/vbox_network.c @@ -22,10 +22,8 @@ =20 #include "internal.h" #include "datatypes.h" -#include "domain_conf.h" #include "domain_event.h" #include "virlog.h" -#include "virstring.h" #include "viralloc.h" #include "network_conf.h" =20 diff --git a/src/vbox/vbox_storage.c b/src/vbox/vbox_storage.c index 10eb35c654..be609033e1 100644 --- a/src/vbox/vbox_storage.c +++ b/src/vbox/vbox_storage.c @@ -22,10 +22,7 @@ =20 #include "internal.h" #include "datatypes.h" -#include "domain_conf.h" -#include "domain_event.h" #include "virlog.h" -#include "virstring.h" #include "storage_conf.h" #include "virutil.h" =20 diff --git a/src/vbox/vbox_tmpl.c b/src/vbox/vbox_tmpl.c index 7344882bbd..52b1c93b6d 100644 --- a/src/vbox/vbox_tmpl.c +++ b/src/vbox/vbox_tmpl.c @@ -42,7 +42,6 @@ #include "viralloc.h" #include "virlog.h" #include "virstring.h" -#include "virutil.h" =20 /* This one changes from version to version. */ #if VBOX_API_VERSION =3D=3D 5002000 diff --git a/src/vbox/vbox_uniformed_api.h b/src/vbox/vbox_uniformed_api.h index 18f352d98e..c805ce03b2 100644 --- a/src/vbox/vbox_uniformed_api.h +++ b/src/vbox/vbox_uniformed_api.h @@ -18,8 +18,6 @@ =20 #pragma once =20 -#include "internal.h" - /* This file may be used in three place. That is vbox_tmpl.c, * vbox_common.c and vbox_driver.c. The vboxUniformedAPI and some * types used for vboxUniformedAPI is defined here. --=20 2.36.1