]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkModulePkg/Library/DxeCoreUefiDecompressLibFromHob/DxeCoreUefiDecompressLibFromHob.c
added EFIAPI for those constructor functions
[mirror_edk2.git] / EdkModulePkg / Library / DxeCoreUefiDecompressLibFromHob / DxeCoreUefiDecompressLibFromHob.c
index b4bd5399757a255be955a05cb3ff76def079c78d..d0bf854fb6ccf7efea8666df7daf49095d1117b8 100644 (file)
@@ -1,13 +1,13 @@
 /*++\r
 \r
-Copyright (c) 2006, Intel Corporation                                                         \r
-All rights reserved. This program and the accompanying materials                          \r
-are licensed and made available under the terms and conditions of the BSD License         \r
-which accompanies this distribution.  The full text of the license may be found at        \r
-http://opensource.org/licenses/bsd-license.php                                            \r
-                                                                                          \r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r
+Copyright (c) 2006, Intel Corporation\r
+All rights reserved. This program and the accompanying materials\r
+are licensed and made available under the terms and conditions of the BSD License\r
+which accompanies this distribution.  The full text of the license may be found at\r
+http://opensource.org/licenses/bsd-license.php\r
+\r
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
 Module Name:\r
 \r
@@ -15,13 +15,14 @@ Module Name:
 \r
 Abstract:\r
 \r
-  UEFI Decompress Library from HOBs \r
+  UEFI Decompress Library from HOBs\r
 \r
 --*/\r
 \r
 static DECOMPRESS_LIBRARY  mEfiDecompress;\r
 \r
 EFI_STATUS\r
+EFIAPI\r
 DxeCoreUefiDecompressLibConstructor (\r
   IN EFI_HANDLE        ImageHandle,\r
   IN EFI_SYSTEM_TABLE  *SystemTable\r
@@ -40,7 +41,7 @@ Returns:
 \r
   GuidHob = GetFirstGuidHob (&gEfiDecompressProtocolGuid);\r
   ASSERT (GuidHob != NULL);\r
-  CopyMem (&mEfiDecompress, GET_GUID_HOB_DATA (GuidHob), sizeof (mEfiDecompress));  \r
+  CopyMem (&mEfiDecompress, GET_GUID_HOB_DATA (GuidHob), sizeof (mEfiDecompress));\r
   return EFI_SUCCESS;\r
 }\r
 \r