]> git.proxmox.com Git - mirror_edk2.git/commit
MdePkg/UefiDebugLibConOut: make global variable static
authorZhichao Gao <zhichao.gao@intel.com>
Wed, 24 Apr 2019 03:20:38 +0000 (11:20 +0800)
committerLiming Gao <liming.gao@intel.com>
Sun, 28 Apr 2019 02:54:27 +0000 (10:54 +0800)
commitc17e4a2f537187e33283434393d317747e5671a4
treec3eeb44b6c7a6f09621e8949fdb8a0bc6b3e4afb
parent4e1daa60f5372c22a11503961061ffa569eaf873
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>
MdePkg/Library/UefiDebugLibConOut/DebugLibConstructor.c