summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2006-12-28 03:35:37 +0000
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2006-12-28 03:35:37 +0000
commitf2df6a00a28508d9ed08f5564cbb21b7c0c9e19c (patch)
treea9d5b0c1787a570c619f1c7656c0ae0f1a227995
parentaf9e69ff1971ebe4216888ee31498dd1ba7d9b6f (diff)
downloadedk2-f2df6a00a28508d9ed08f5564cbb21b7c0c9e19c.zip
edk2-f2df6a00a28508d9ed08f5564cbb21b7c0c9e19c.tar.gz
edk2-f2df6a00a28508d9ed08f5564cbb21b7c0c9e19c.tar.bz2
Fix a typo in UefiLib. The parameter type of Registration should be "VOID **" instead of "VOID *".
No binary code is impacted. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2142 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--MdePkg/Include/Library/UefiLib.h2
-rw-r--r--MdePkg/Library/UefiLib/UefiLib.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/MdePkg/Include/Library/UefiLib.h b/MdePkg/Include/Library/UefiLib.h
index 18be1b6..3098f57 100644
--- a/MdePkg/Include/Library/UefiLib.h
+++ b/MdePkg/Include/Library/UefiLib.h
@@ -109,7 +109,7 @@ EfiNamedEventListen (
IN EFI_TPL NotifyTpl,
IN EFI_EVENT_NOTIFY NotifyFunction,
IN CONST VOID *NotifyContext, OPTIONAL
- OUT VOID *Registration OPTIONAL
+ OUT VOID **Registration
);
/**
diff --git a/MdePkg/Library/UefiLib/UefiLib.c b/MdePkg/Library/UefiLib/UefiLib.c
index 85fdc6e..0ce36fc 100644
--- a/MdePkg/Library/UefiLib/UefiLib.c
+++ b/MdePkg/Library/UefiLib/UefiLib.c
@@ -93,7 +93,7 @@ EfiCreateProtocolNotifyEvent(
IN EFI_TPL NotifyTpl,
IN EFI_EVENT_NOTIFY NotifyFunction,
IN VOID *NotifyContext, OPTIONAL
- OUT VOID *Registration
+ OUT VOID **Registration
)
{
EFI_STATUS Status;