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