MdePkg/UefiDebugLibDebugPortProtocol: ExitBootServicesCallback() static

REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3083

Since this is a library, make the function ExitBootServicesCallback()
STATIC to prevent the likelihood that it collides with other symbols.

Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
This commit is contained in:
Michael Kubacki 2024-07-02 12:10:55 -04:00 committed by mergify[bot]
parent 690f13fcb4
commit 55b043732d

View File

@ -34,9 +34,10 @@ EFI_BOOT_SERVICES *mDebugBS;
@param Context Pointer to the notification function's context.
**/
static
VOID
EFIAPI
ExitBootServicesCallback (
UefiDebugLibDebugPortProtocolExitBootServicesCallback (
EFI_EVENT Event,
VOID *Context
)
@ -67,7 +68,7 @@ DxeDebugLibConstructor (
mDebugBS->CreateEvent (
EVT_SIGNAL_EXIT_BOOT_SERVICES,
TPL_NOTIFY,
ExitBootServicesCallback,
UefiDebugLibDebugPortProtocolExitBootServicesCallback,
NULL,
&mExitBootServicesEvent
);