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