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 <[email protected]> Cc: Michael D Kinney <[email protected]> Cc: Liming Gao <[email protected]> Cc: Dandan Bi <[email protected]> Signed-off-by: Zhichao Gao <[email protected]> --- MdePkg/Library/UefiDebugLibConOut/DebugLibConstructor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdePkg/Library/UefiDebugLibConOut/DebugLibConstructor.c b/MdePkg/Library/UefiDebugLibConOut/DebugLibConstructor.c index d4fdfbab55..8005370372 100644 --- a/MdePkg/Library/UefiDebugLibConOut/DebugLibConstructor.c +++ b/MdePkg/Library/UefiDebugLibConOut/DebugLibConstructor.c @@ -17,7 +17,7 @@ // BOOLEAN mPostEBS = FALSE; -EFI_EVENT mExitBootServicesEvent; +static EFI_EVENT mExitBootServicesEvent; // // Pointer to SystemTable -- 2.21.0.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#39590): https://edk2.groups.io/g/devel/message/39590 Mute This Topic: https://groups.io/mt/31348675/21656 Group Owner: [email protected] Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
