MdePkg/UefiDebugLibStdErr: 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:
Zhichao Gao 2019-04-24 11:26:55 +08:00 committed by Liming Gao
parent 7eef381378
commit ffe48f4b6c
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@
//
BOOLEAN mPostEBS = FALSE;
EFI_EVENT mExitBootServicesEvent;
static EFI_EVENT mExitBootServicesEvent;
//
// Pointer to SystemTable