diff options
author | Zhichao Gao <zhichao.gao@intel.com> | 2019-04-24 11:20:38 +0800 |
---|---|---|
committer | Liming Gao <liming.gao@intel.com> | 2019-04-28 10:54:27 +0800 |
commit | c17e4a2f537187e33283434393d317747e5671a4 (patch) | |
tree | c3eeb44b6c7a6f09621e8949fdb8a0bc6b3e4afb | |
parent | 4e1daa60f5372c22a11503961061ffa569eaf873 (diff) | |
download | edk2-c17e4a2f537187e33283434393d317747e5671a4.tar.gz edk2-c17e4a2f537187e33283434393d317747e5671a4.tar.bz2 edk2-c17e4a2f537187e33283434393d317747e5671a4.zip |
MdePkg/UefiDebugLibConOut: 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>
-rw-r--r-- | MdePkg/Library/UefiDebugLibConOut/DebugLibConstructor.c | 2 |
1 files changed, 1 insertions, 1 deletions
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
|