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