]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkModulePkg/Library/DxePerformanceLib/DxePerformanceLib.c
Further check-in to smooth Intel IPF compiler building.
[mirror_edk2.git] / EdkModulePkg / Library / DxePerformanceLib / DxePerformanceLib.c
index 74d71c54d96afde54feb5ff61e227263b14b74af..d143039828405e6a8c57979f170307a300c2b73a 100644 (file)
@@ -31,6 +31,7 @@ STATIC PERFORMANCE_PROTOCOL    *mPerformance = NULL;
   @retval Other           Performance protocol is not located to log performance.  \r
 \r
 **/\r
+STATIC\r
 EFI_STATUS\r
 GetPerformanceProtocol (\r
   VOID\r
@@ -245,5 +246,5 @@ PerformanceMeasurementEnabled (
   VOID\r
   )\r
 {\r
-  return ((PcdGet8(PcdPerformanceLibraryPropertyMask) & PERFORMANCE_LIBRARY_PROPERTY_MEASUREMENT_ENABLED) != 0);\r
+  return (BOOLEAN) ((PcdGet8(PcdPerformanceLibraryPropertyMask) & PERFORMANCE_LIBRARY_PROPERTY_MEASUREMENT_ENABLED) != 0);\r
 }\r