summaryrefslogtreecommitdiff
path: root/MdePkg
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg')
-rw-r--r--MdePkg/Include/Library/UefiLib.h4
-rw-r--r--MdePkg/Library/UefiLib/UefiLib.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/MdePkg/Include/Library/UefiLib.h b/MdePkg/Include/Library/UefiLib.h
index 3098f57298..9eed35ba16 100644
--- a/MdePkg/Include/Library/UefiLib.h
+++ b/MdePkg/Include/Library/UefiLib.h
@@ -84,7 +84,7 @@ EfiCreateProtocolNotifyEvent(
IN EFI_TPL NotifyTpl,
IN EFI_EVENT_NOTIFY NotifyFunction,
IN VOID *NotifyContext, OPTIONAL
- OUT VOID *Registration
+ OUT VOID **Registration
);
/**
@@ -109,7 +109,7 @@ EfiNamedEventListen (
IN EFI_TPL NotifyTpl,
IN EFI_EVENT_NOTIFY NotifyFunction,
IN CONST VOID *NotifyContext, OPTIONAL
- OUT VOID **Registration
+ OUT VOID *Registration OPTIONAL
);
/**
diff --git a/MdePkg/Library/UefiLib/UefiLib.c b/MdePkg/Library/UefiLib/UefiLib.c
index 0ce36fce7b..e8883b49f8 100644
--- a/MdePkg/Library/UefiLib/UefiLib.c
+++ b/MdePkg/Library/UefiLib/UefiLib.c
@@ -155,7 +155,7 @@ EfiNamedEventListen (
IN EFI_TPL NotifyTpl,
IN EFI_EVENT_NOTIFY NotifyFunction,
IN CONST VOID *NotifyContext, OPTIONAL
- OUT VOID *Registration OPTIONAL
+ OUT VOID *Registration OPTIONAL
)
{
EFI_STATUS Status;