From 201c76681b80b5762b7cf282c4293d9382d00c2b Mon Sep 17 00:00:00 2001 From: xli24 Date: Tue, 2 Sep 2008 05:54:48 +0000 Subject: [PATCH] Fix 2 flaws in MdePkg/Include/Library/UefiRuntimeLib.h: 1. Add OPTIONAL modifier for parameter Attributes of EfiGetVariable() 2. Add EFIAPI modifier for EfiResetSystem() git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5775 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Include/Library/UefiRuntimeLib.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MdePkg/Include/Library/UefiRuntimeLib.h b/MdePkg/Include/Library/UefiRuntimeLib.h index f4b63f4b90..396dc781d0 100644 --- a/MdePkg/Include/Library/UefiRuntimeLib.h +++ b/MdePkg/Include/Library/UefiRuntimeLib.h @@ -139,7 +139,7 @@ EFIAPI EfiGetVariable ( IN CHAR16 *VariableName, IN EFI_GUID *VendorGuid, - OUT UINT32 *Attributes, + OUT UINT32 *Attributes OPTIONAL, IN OUT UINTN *DataSize, OUT VOID *Data ); @@ -220,6 +220,7 @@ EfiGetNextHighMonotonicCount ( **/ VOID +EFIAPI EfiResetSystem ( IN EFI_RESET_TYPE ResetType, IN EFI_STATUS ResetStatus, -- 2.39.2