diff options
author | Michael Kubacki <michael.kubacki@microsoft.com> | 2024-07-02 12:10:55 -0400 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-07-16 23:17:04 +0000 |
commit | 55b043732d20305c769c6243e0a9a6e1f5ae879d (patch) | |
tree | 9a674f9c8d0da14a166a1b1b1f1b1620ee10b509 /MdePkg/Library/UefiDebugLibDebugPortProtocol | |
parent | 690f13fcb4a7b74b30091c7067a18bb7971982d8 (diff) | |
download | edk2-55b043732d20305c769c6243e0a9a6e1f5ae879d.tar.gz edk2-55b043732d20305c769c6243e0a9a6e1f5ae879d.tar.bz2 edk2-55b043732d20305c769c6243e0a9a6e1f5ae879d.zip |
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>
Diffstat (limited to 'MdePkg/Library/UefiDebugLibDebugPortProtocol')
-rw-r--r-- | MdePkg/Library/UefiDebugLibDebugPortProtocol/DebugLibConstructor.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/MdePkg/Library/UefiDebugLibDebugPortProtocol/DebugLibConstructor.c b/MdePkg/Library/UefiDebugLibDebugPortProtocol/DebugLibConstructor.c index 298d17c6a0..7ddecd0b62 100644 --- a/MdePkg/Library/UefiDebugLibDebugPortProtocol/DebugLibConstructor.c +++ b/MdePkg/Library/UefiDebugLibDebugPortProtocol/DebugLibConstructor.c @@ -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
);
|