]> git.proxmox.com Git - mirror_edk2.git/blobdiff - PerformancePkg/Dp_App/DpInternal.h
fix GCC build failure. make function definition same with declaration.
[mirror_edk2.git] / PerformancePkg / Dp_App / DpInternal.h
index 93355800930a352eced1c1d2c3db603b3a7978ed..f382d425b2a40f35e830d2baa0aadf46ef114df8 100644 (file)
@@ -6,7 +6,7 @@
   * Dp application.  In addition to global data, function declarations for\r
   * DpUtilities.c, DpTrace.c, and DpProfile.c are included here.\r
   *\r
-  * Copyright (c) 2009-2010, Intel Corporation. All rights reserved.<BR>\r
+  * Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>\r
   * 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
   * 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
-\r
+#ifndef _DP_INTELNAL_H_\r
+#define _DP_INTELNAL_H_\r
 //\r
 /// Module-Global Variables\r
-/// @{\r
+///@{\r
 extern EFI_HII_HANDLE     gHiiHandle;\r
 extern CHAR16             *mPrintTokenBuffer;\r
 extern CHAR16             mGaugeString[DXE_PERFORMANCE_STRING_SIZE];\r
@@ -36,7 +37,7 @@ extern PERF_CUM_DATA      CumData[];
 /// Number of items for which we are gathering cumulative statistics.\r
 extern UINT32 const       NumCum;\r
 \r
-/// @}\r
+///@}\r
 \r
 /** Calculate an event's duration in timer ticks.\r
   *\r
@@ -287,3 +288,4 @@ DumpRawProfile(
   IN UINTN          Limit,\r
   IN BOOLEAN        ExcludeFlag\r
 );\r
+#endif\r