From nobody Mon Feb 9 19:07:44 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+39592+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+39592+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1556240680; cv=none; d=zoho.com; s=zohoarc; b=mAEPpWb3v5LwtlXYg/mZmO7WqszkVC/cEkAiFKSxKtt5hgr8jxhHpuk2qEUFEvrjM5TGOujcHPywiVVuozngk8bzhBEDM+Y9E8R1VLJyCL3TijlotRHZmwPvCqlIy0yxp+WOXJb+BsI0zT7RNZrsf6GWJlSZTF0GWuJPJb9usOw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1556240680; 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=LW+NkXnYeWtnNbcybqgtNx1o8fZdEsSiaOeYpaMc8J0=; b=QUkQCEc3SEv3V75cytn3BwRCf1RL4cAxItP72+pWETfWugVrybWrr3UntI0v9TmHAoEw8tEOLDBvRv1to2LAy3eEELym97A0t32plUnSLKR4XU5vy9iZEEu0ua8c+NP02K90M3ldSJZJmqzXWBwh161/Ghydilw2oQ8eNcA+YiE= 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+39592+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 1556240680986986.35766856579; Thu, 25 Apr 2019 18:04:40 -0700 (PDT) Return-Path: X-Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) 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:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,395,1549958400"; d="scan'208";a="137547656" X-Received: from fieedk001.ccr.corp.intel.com ([10.239.33.119]) by orsmga008.jf.intel.com with ESMTP; 25 Apr 2019 18:04:38 -0700 From: "Gao, Zhichao" To: devel@edk2.groups.io Cc: Laszlo Ersek , Michael D Kinney , Liming Gao , Dandan Bi Subject: [edk2-devel] [PATCH V3 3/8] MdePkg/UefiDebugLibStdErr: make global variable static Date: Fri, 26 Apr 2019 09:03:59 +0800 Message-Id: <20190426010404.20624-4-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=f6RIe9PNkHa/eNiB/XfM/B7Zhg3NmCnVxyK2pMHqHEs=; h=Cc:Date:From:Reply-To:Subject:To; b=AxgBz7RyuUoTj1v9y5h3vEgacjKA3MoiLO+JxwG76EHUJFEtRCOGvsxH0sfk+qu2EKT zBWy0KOUxTSzdNPmulyarE1jqzYYtUBl9E0fGkeD/OooRJzhigulYvsz/klewaumYMIWf 3ZYF5YP0Gc0jY7bAWVAhfT8VoHvksNtumlg= 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 --- MdePkg/Library/UefiDebugLibStdErr/DebugLibConstructor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdePkg/Library/UefiDebugLibStdErr/DebugLibConstructor.c b/MdeP= kg/Library/UefiDebugLibStdErr/DebugLibConstructor.c index d4fdfbab55..8005370372 100644 --- a/MdePkg/Library/UefiDebugLibStdErr/DebugLibConstructor.c +++ b/MdePkg/Library/UefiDebugLibStdErr/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 (#39592): https://edk2.groups.io/g/devel/message/39592 Mute This Topic: https://groups.io/mt/31348679/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-