]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkModulePkg/Library/DxeCoreTianoDecompressLibFromHob/DxeCoreTianoDecompressLibFromHob.c
added EFIAPI for those constructor functions
[mirror_edk2.git] / EdkModulePkg / Library / DxeCoreTianoDecompressLibFromHob / DxeCoreTianoDecompressLibFromHob.c
index 1bb832be0291ac7acfc69e7c9b22d746325a4e2e..54f0bc22f01b50de270086a0c125d8a567136767 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
+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
+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
-  Tiano Decompress Library from HOBs \r
+  Tiano Decompress Library from HOBs\r
 \r
 --*/\r
 \r
 static DECOMPRESS_LIBRARY  mTianoDecompress;\r
 \r
 EFI_STATUS\r
+EFIAPI\r
 DxeCoreTianoDecompressLibConstructor (\r
   IN EFI_HANDLE        ImageHandle,\r
   IN EFI_SYSTEM_TABLE  *SystemTable\r
@@ -39,8 +40,8 @@ Returns:
   EFI_HOB_GUID_TYPE  *GuidHob;\r
 \r
   GuidHob = GetFirstGuidHob (&gEfiTianoDecompressProtocolGuid);\r
-  ASSERT (GuidHob != NULL);   \r
-  CopyMem (&mTianoDecompress, GET_GUID_HOB_DATA (GuidHob), sizeof (mTianoDecompress));  \r
+  ASSERT (GuidHob != NULL);\r
+  CopyMem (&mTianoDecompress, GET_GUID_HOB_DATA (GuidHob), sizeof (mTianoDecompress));\r
   return EFI_SUCCESS;\r
 }\r
 \r