]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkModulePkg/Library/DxeCoreCustomDecompressLibFromHob/DxeCoreCustomDecompressLibFromHob.c
added EFIAPI for those constructor functions
[mirror_edk2.git] / EdkModulePkg / Library / DxeCoreCustomDecompressLibFromHob / DxeCoreCustomDecompressLibFromHob.c
index 300cc91fed5cf1da204f785fb79f2665a7742659..8b58cfa5eafbfb26bd7bebaed9eadc8a1bc0d00f 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
-  Custom Decompress Library from HOBs \r
+  Custom Decompress Library from HOBs\r
 \r
 --*/\r
 \r
 static DECOMPRESS_LIBRARY  mCustomDecompress;\r
 \r
 EFI_STATUS\r
+EFIAPI\r
 DxeCoreCustomDecompressLibConstructor (\r
   IN EFI_HANDLE        ImageHandle,\r
   IN EFI_SYSTEM_TABLE  *SystemTable\r
@@ -40,7 +41,7 @@ Returns:
 \r
   GuidHob = GetFirstGuidHob (&gEfiCustomizedDecompressProtocolGuid);\r
   ASSERT (GuidHob != NULL);\r
-  CopyMem (&mCustomDecompress, GET_GUID_HOB_DATA (GuidHob), sizeof (mCustomDecompress));  \r
+  CopyMem (&mCustomDecompress, GET_GUID_HOB_DATA (GuidHob), sizeof (mCustomDecompress));\r
   return EFI_SUCCESS;\r
 }\r
 \r