From nobody Mon Feb 9 19:07:20 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+39591+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+39591+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1556240681; cv=none; d=zoho.com; s=zohoarc; b=ZmVvajgsz3KMYENmC8Rbwx7jkxIT+oxY3SehELgLUS7SdjRzjMBxxvASGqwFeKz3qkZHnPfndH9mvZfg5WYGhj79iJ4PZhEcTfgJ82JBPRgocL/lWmury+JEM6aOSLWQw34yo2VsllX0p/gSO7OvsNNKQMZhfnMTqZtER9yi+Is= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1556240681; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To:ARC-Authentication-Results; bh=FvuNwXsdPl6co0DJfiREPvO79/TK0TjQcTvBwQZGfF8=; b=A/od8fT7fm4szzG9Nl8VE638QEPPWMf2NLo8rmRutjN05sZAKQJwwe6p01b0PWSEr5Kzclp13C66m4COtf25+H5pbDFF08gbby3prZ2OqDX7hydH922SBB13AibucAk7HMJf5eUowE+F09KsXzc5mUyJXfNv6mwzS4j/4nwz7lY= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+39591+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 155624068120469.8615803986005; Thu, 25 Apr 2019 18:04:41 -0700 (PDT) Return-Path: X-Received: from mga01.intel.com (mga01.intel.com []) by groups.io with SMTP; Thu, 25 Apr 2019 18:04:40 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Apr 2019 18:04:39 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,395,1549958400"; d="scan'208";a="137547650" X-Received: from fieedk001.ccr.corp.intel.com ([10.239.33.119]) by orsmga008.jf.intel.com with ESMTP; 25 Apr 2019 18:04:36 -0700 From: "Gao, Zhichao" To: devel@edk2.groups.io Cc: Laszlo Ersek , Michael D Kinney , Liming Gao , Dandan Bi Subject: [edk2-devel] [PATCH V3 2/8] MdePkg/UefiDebugLibDebugPortProtocol: make global variable static Date: Fri, 26 Apr 2019 09:03:58 +0800 Message-Id: <20190426010404.20624-3-zhichao.gao@intel.com> In-Reply-To: <20190426010404.20624-1-zhichao.gao@intel.com> References: <20190426010404.20624-1-zhichao.gao@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,zhichao.gao@intel.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1556240680; bh=h7Pnmacwox6/H6bIkFLJW5ecXRhLhZis5lIesFRXcvw=; h=Cc:Date:From:Reply-To:Subject:To; b=hMIlc+TkKoiRz2CxsuMd+1P2vC5yOa06lwKNvbZVpHWoIhBJqHCRTtgyKNGXcf2mNik VlIIQB4xoO+0/lQGjzcwTjkqvVh7k8En7xz8w43BzB/Gp8yn8bVna9wkP6A9G3yrIJlt7 /eMqbxqJ57F+az7GSeNhucO3Bv49tqhoZsI= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D1740 Add a 'static' storage-class specifier to the global variables that only used in a single file to minimize the name collisions. This is only for the variable named 'mExitBootServicesEvent'. Cc: Laszlo Ersek Cc: Michael D Kinney Cc: Liming Gao Cc: Dandan Bi Signed-off-by: Zhichao Gao --- .../Library/UefiDebugLibDebugPortProtocol/DebugLibConstructor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdePkg/Library/UefiDebugLibDebugPortProtocol/DebugLibConstruct= or.c b/MdePkg/Library/UefiDebugLibDebugPortProtocol/DebugLibConstructor.c index ed2cb70c21..de60d339a8 100644 --- a/MdePkg/Library/UefiDebugLibDebugPortProtocol/DebugLibConstructor.c +++ b/MdePkg/Library/UefiDebugLibDebugPortProtocol/DebugLibConstructor.c @@ -17,7 +17,7 @@ // BOOLEAN mPostEBS =3D FALSE; =20 -EFI_EVENT mExitBootServicesEvent; +static EFI_EVENT mExitBootServicesEvent; =20 // // Pointer to SystemTable --=20 2.21.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#39591): https://edk2.groups.io/g/devel/message/39591 Mute This Topic: https://groups.io/mt/31348678/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-