]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkModulePkg/Library/EdkDxeSalLib/Ipf/EsalServiceLib.c
Further check-in to smooth Intel IPF compiler building.
[mirror_edk2.git] / EdkModulePkg / Library / EdkDxeSalLib / Ipf / EsalServiceLib.c
index 199b14becc3896b55c34d567577b63dbd8b43606..2b4d2972213d6e8562cbc9ffa001605979609c04 100644 (file)
@@ -22,6 +22,7 @@ Abstract:
 EXTENDED_SAL_BOOT_SERVICE_PROTOCOL  *mEsalBootService = NULL;\r
 EFI_PLABEL                          mPlabel;\r
 \r
+STATIC\r
 EFI_STATUS\r
 EFIAPI\r
 DxeSalLibInitialize (\r
@@ -43,7 +44,7 @@ DxeSalLibInitialize (
   // virtual). So lets grap the physical PLABEL for the EsalEntryPoint and store it\r
   // away. We cache it in a module global, so we can register the vitrual version.\r
   //\r
-  Status = gBS->LocateProtocol (&gEfiExtendedSalBootServiceProtocolGuid, NULL, &mEsalBootService);\r
+  Status = gBS->LocateProtocol (&gEfiExtendedSalBootServiceProtocolGuid, NULL, (VOID **) &mEsalBootService);\r
   if (EFI_ERROR (Status)) {\r
     mEsalBootService = NULL;\r
     return EFI_SUCCESS;\r
@@ -58,6 +59,7 @@ DxeSalLibInitialize (
   return EFI_SUCCESS;\r
 }\r
 \r
+STATIC\r
 VOID\r
 EFIAPI\r
 DxeSalVirtualNotifyEvent (\r