IntelFrameworkModulePkg: make global variable static
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1740 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 <lersek@redhat.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Liming Gao <liming.gao@intel.com> Cc: Dandan Bi <dandan.bi@intel.com> Signed-off-by: Zhichao Gao <zhichao.gao@intel.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
@ -1,7 +1,7 @@
|
|||||||
/** @file
|
/** @file
|
||||||
Library constructor & destructor, event handlers, and other internal worker functions.
|
Library constructor & destructor, event handlers, and other internal worker functions.
|
||||||
|
|
||||||
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
|
Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR>
|
||||||
SPDX-License-Identifier: BSD-2-Clause-Patent
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||||
|
|
||||||
**/
|
**/
|
||||||
@ -9,7 +9,7 @@
|
|||||||
#include "ReportStatusCodeLibInternal.h"
|
#include "ReportStatusCodeLibInternal.h"
|
||||||
|
|
||||||
EFI_EVENT mVirtualAddressChangeEvent;
|
EFI_EVENT mVirtualAddressChangeEvent;
|
||||||
EFI_EVENT mExitBootServicesEvent;
|
static EFI_EVENT mExitBootServicesEvent;
|
||||||
EFI_STATUS_CODE_DATA *mStatusCodeData;
|
EFI_STATUS_CODE_DATA *mStatusCodeData;
|
||||||
BOOLEAN mInSmm;
|
BOOLEAN mInSmm;
|
||||||
EFI_SMM_BASE_PROTOCOL *mSmmBase;
|
EFI_SMM_BASE_PROTOCOL *mSmmBase;
|
||||||
|
Reference in New Issue
Block a user