summaryrefslogtreecommitdiff
path: root/EdkCompatibilityPkg/Sample
diff options
context:
space:
mode:
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2008-09-04 09:44:58 +0000
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2008-09-04 09:44:58 +0000
commite00e1d46940a267d6fbe92be4ed2e547b4e946dc (patch)
treeccfa6694ebebad33608d7fb40bd8a863c0c6977c /EdkCompatibilityPkg/Sample
parented66e1bc0d2be0a185fc47adab4930c3b7e2767f (diff)
downloadedk2-platforms-e00e1d46940a267d6fbe92be4ed2e547b4e946dc.tar.xz
clean up the un-suitable ';' location when declaring the functions. The regular is ")[ ]++^p;"
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5821 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkCompatibilityPkg/Sample')
-rw-r--r--EdkCompatibilityPkg/Sample/Platform/Generic/MonoStatusCode/Library/Pei/Include/MemoryStatusCodeLib.h6
-rw-r--r--EdkCompatibilityPkg/Sample/Platform/Generic/MonoStatusCode/Library/Pei/Include/SimpleCpuIoLib.h30
-rw-r--r--EdkCompatibilityPkg/Sample/Platform/Generic/MonoStatusCode/Library/Pei/MemoryStatusCode/MemoryStatusCode.h3
-rw-r--r--EdkCompatibilityPkg/Sample/Platform/Generic/MonoStatusCode/Pei/MonoStatusCode.h18
-rw-r--r--EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/BsSerialStatusCode/BsSerialStatusCode.h6
-rw-r--r--EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/Include/BsDataHubStatusCodeLib.h6
-rw-r--r--EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/Include/BsSerialStatusCodeLib.h6
-rw-r--r--EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/Include/RtLedStatusCodeLib.h6
-rw-r--r--EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/Include/RtMemoryStatusCodeLib.h9
-rw-r--r--EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/Include/RtPlatformStatusCodeLib.h6
-rw-r--r--EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/Include/RtPort80StatusCodeLib.h3
-rw-r--r--EdkCompatibilityPkg/Sample/Tools/Source/Common/CommonLib.h36
-rw-r--r--EdkCompatibilityPkg/Sample/Tools/Source/Common/Compress.h6
-rw-r--r--EdkCompatibilityPkg/Sample/Tools/Source/Common/Crc32.h3
-rw-r--r--EdkCompatibilityPkg/Sample/Tools/Source/Common/EfiCustomizedCompress.h12
-rw-r--r--EdkCompatibilityPkg/Sample/Tools/Source/Common/EfiUtilityMsgs.h27
-rw-r--r--EdkCompatibilityPkg/Sample/Tools/Source/Common/FvLib.h33
-rw-r--r--EdkCompatibilityPkg/Sample/Tools/Source/Common/MyAlloc.h12
-rw-r--r--EdkCompatibilityPkg/Sample/Tools/Source/Common/ParseInf.h21
-rw-r--r--EdkCompatibilityPkg/Sample/Tools/Source/Common/SimpleFileParsing.h42
-rw-r--r--EdkCompatibilityPkg/Sample/Tools/Source/GenFvImage/GenFvImageLib.h9
-rw-r--r--EdkCompatibilityPkg/Sample/Tools/Source/GenFvImage/GenFvImageLibInternal.h3
-rw-r--r--EdkCompatibilityPkg/Sample/Tools/Source/GuidChk/CommonUtils.h3
-rw-r--r--EdkCompatibilityPkg/Sample/Tools/Source/GuidChk/FileSearch.h21
-rw-r--r--EdkCompatibilityPkg/Sample/Tools/Source/GuidChk/UtilsMsgs.h27
-rw-r--r--EdkCompatibilityPkg/Sample/Tools/Source/ProcessDsc/DscFile.h21
-rw-r--r--EdkCompatibilityPkg/Sample/Tools/Source/ProcessDsc/Exceptions.h15
-rw-r--r--EdkCompatibilityPkg/Sample/Tools/Source/ProcessDsc/FWVolume.h18
-rw-r--r--EdkCompatibilityPkg/Sample/Tools/Source/StrGather/StringDB.h42
-rw-r--r--EdkCompatibilityPkg/Sample/Tools/Source/UefiStrGather/StringDB.h48
30 files changed, 166 insertions, 332 deletions
diff --git a/EdkCompatibilityPkg/Sample/Platform/Generic/MonoStatusCode/Library/Pei/Include/MemoryStatusCodeLib.h b/EdkCompatibilityPkg/Sample/Platform/Generic/MonoStatusCode/Library/Pei/Include/MemoryStatusCodeLib.h
index b2ed83b1aa..e954cf8cca 100644
--- a/EdkCompatibilityPkg/Sample/Platform/Generic/MonoStatusCode/Library/Pei/Include/MemoryStatusCodeLib.h
+++ b/EdkCompatibilityPkg/Sample/Platform/Generic/MonoStatusCode/Library/Pei/Include/MemoryStatusCodeLib.h
@@ -40,8 +40,7 @@ VOID
MemoryInitializeStatusCode (
IN EFI_FFS_FILE_HEADER *FfsHeader,
IN EFI_PEI_SERVICES **PeiServices
- )
-;
+ );
//
// Status code reporting function
@@ -54,7 +53,6 @@ MemoryReportStatusCode (
IN UINT32 Instance,
IN EFI_GUID * CallerId,
IN EFI_STATUS_CODE_DATA * Data OPTIONAL
- )
-;
+ );
#endif
diff --git a/EdkCompatibilityPkg/Sample/Platform/Generic/MonoStatusCode/Library/Pei/Include/SimpleCpuIoLib.h b/EdkCompatibilityPkg/Sample/Platform/Generic/MonoStatusCode/Library/Pei/Include/SimpleCpuIoLib.h
index ca666def6a..4172ddabf9 100644
--- a/EdkCompatibilityPkg/Sample/Platform/Generic/MonoStatusCode/Library/Pei/Include/SimpleCpuIoLib.h
+++ b/EdkCompatibilityPkg/Sample/Platform/Generic/MonoStatusCode/Library/Pei/Include/SimpleCpuIoLib.h
@@ -28,66 +28,56 @@ Abstract:
UINT8
IoRead8 (
IN UINT64 Address
- )
-;
+ );
UINT16
IoRead16 (
IN UINT64 Address
- )
-;
+ );
UINT32
IoRead32 (
IN UINT64 Address
- )
-;
+ );
VOID
IoWrite8 (
IN UINT64 Address,
IN UINT8 Data
- )
-;
+ );
VOID
IoWrite16 (
IN UINT64 Address,
IN UINT16 Data
- )
-;
+ );
VOID
IoWrite32 (
IN UINT64 Address,
IN UINT32 Data
- )
-;
+ );
UINT32
MemRead32 (
IN UINT64 Address
- )
-;
+ );
UINT64
MemRead64 (
IN UINT64 Address
- )
-;
+ );
VOID
MemWrite32 (
IN UINT64 Address,
IN UINT32 Data
- )
-;
+ );
VOID
MemWrite64 (
IN UINT64 Address,
IN UINT64 Data
- )
-;
+ );
#endif
diff --git a/EdkCompatibilityPkg/Sample/Platform/Generic/MonoStatusCode/Library/Pei/MemoryStatusCode/MemoryStatusCode.h b/EdkCompatibilityPkg/Sample/Platform/Generic/MonoStatusCode/Library/Pei/MemoryStatusCode/MemoryStatusCode.h
index b6660b0452..cdba078541 100644
--- a/EdkCompatibilityPkg/Sample/Platform/Generic/MonoStatusCode/Library/Pei/MemoryStatusCode/MemoryStatusCode.h
+++ b/EdkCompatibilityPkg/Sample/Platform/Generic/MonoStatusCode/Library/Pei/MemoryStatusCode/MemoryStatusCode.h
@@ -97,7 +97,6 @@ LoadImageCallback (
IN EFI_PEI_SERVICES **PeiServices,
IN EFI_PEI_NOTIFY_DESCRIPTOR *NotifyDescriptor,
IN VOID *Ppi
- )
-;
+ );
#endif
diff --git a/EdkCompatibilityPkg/Sample/Platform/Generic/MonoStatusCode/Pei/MonoStatusCode.h b/EdkCompatibilityPkg/Sample/Platform/Generic/MonoStatusCode/Pei/MonoStatusCode.h
index 7ff3140fa6..f8cc2fb0bd 100644
--- a/EdkCompatibilityPkg/Sample/Platform/Generic/MonoStatusCode/Pei/MonoStatusCode.h
+++ b/EdkCompatibilityPkg/Sample/Platform/Generic/MonoStatusCode/Pei/MonoStatusCode.h
@@ -67,8 +67,7 @@ EFIAPI
InstallMonoStatusCode (
IN EFI_FFS_FILE_HEADER *FfsHeader,
IN EFI_PEI_SERVICES **PeiServices
- )
-;
+ );
//
// This is the platform function to initialize the listeners desired by the
@@ -78,8 +77,7 @@ VOID
PlatformInitializeStatusCode (
IN EFI_FFS_FILE_HEADER *FfsHeader,
IN EFI_PEI_SERVICES **PeiServices
- )
-;
+ );
//
// This is the platform function that calls all of the listeners desired by the
@@ -94,8 +92,7 @@ PlatformReportStatusCode (
IN UINT32 Instance,
IN EFI_GUID * CallerId,
IN EFI_STATUS_CODE_DATA * Data OPTIONAL
- )
-;
+ );
//
// Platform independent function Declarations
@@ -108,8 +105,7 @@ EFIAPI
InitializeMonoStatusCode (
IN EFI_FFS_FILE_HEADER *FfsHeader,
IN EFI_PEI_SERVICES **PeiServices
- )
-;
+ );
//
// Convert a DXE status code call into a PEI status code call.
@@ -122,8 +118,7 @@ TranslateDxeStatusCodeToPeiStatusCode (
IN UINT32 Instance,
IN EFI_GUID * CallerId,
IN EFI_STATUS_CODE_DATA * Data OPTIONAL
- )
-;
+ );
//
// Publish a HOB that contains the listener to be used by DXE.
@@ -132,7 +127,6 @@ EFI_STATUS
EFIAPI
InitializeDxeReportStatusCode (
IN EFI_PEI_SERVICES **PeiServices
- )
-;
+ );
#endif
diff --git a/EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/BsSerialStatusCode/BsSerialStatusCode.h b/EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/BsSerialStatusCode/BsSerialStatusCode.h
index 63165471b1..fabb9a2060 100644
--- a/EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/BsSerialStatusCode/BsSerialStatusCode.h
+++ b/EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/BsSerialStatusCode/BsSerialStatusCode.h
@@ -78,13 +78,11 @@ extern UINT8 gBreakSet;
VOID
DebugSerialPrint (
IN UINT8 *OutputString
- )
-;
+ );
VOID
DebugSerialWrite (
IN UINT8 Character
- )
-;
+ );
#endif
diff --git a/EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/Include/BsDataHubStatusCodeLib.h b/EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/Include/BsDataHubStatusCodeLib.h
index c15ac01e51..181617d39b 100644
--- a/EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/Include/BsDataHubStatusCodeLib.h
+++ b/EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/Include/BsDataHubStatusCodeLib.h
@@ -35,8 +35,7 @@ EFIAPI
BsDataHubInitializeStatusCode (
IN EFI_HANDLE ImageHandle,
IN EFI_SYSTEM_TABLE *SystemTable
- )
-;
+ );
//
// Status code reporting function
@@ -49,7 +48,6 @@ BsDataHubReportStatusCode (
IN UINT32 Instance,
IN EFI_GUID * CallerId,
IN EFI_STATUS_CODE_DATA * Data OPTIONAL
- )
-;
+ );
#endif
diff --git a/EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/Include/BsSerialStatusCodeLib.h b/EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/Include/BsSerialStatusCodeLib.h
index 761f0da27d..c0b7a72899 100644
--- a/EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/Include/BsSerialStatusCodeLib.h
+++ b/EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/Include/BsSerialStatusCodeLib.h
@@ -35,8 +35,7 @@ EFIAPI
BsSerialInitializeStatusCode (
IN EFI_HANDLE ImageHandle,
IN EFI_SYSTEM_TABLE *SystemTable
- )
-;
+ );
//
// Status code reporting function
@@ -49,7 +48,6 @@ BsSerialReportStatusCode (
IN UINT32 Instance,
IN EFI_GUID * CallerId,
IN EFI_STATUS_CODE_DATA * Data OPTIONAL
- )
-;
+ );
#endif
diff --git a/EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/Include/RtLedStatusCodeLib.h b/EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/Include/RtLedStatusCodeLib.h
index 378d5dce8c..6a9ec87c9b 100644
--- a/EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/Include/RtLedStatusCodeLib.h
+++ b/EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/Include/RtLedStatusCodeLib.h
@@ -31,8 +31,7 @@ VOID
RtLedInitializeStatusCode (
IN EFI_HANDLE ImageHandle,
IN EFI_SYSTEM_TABLE *SystemTable
- )
-;
+ );
//
// Status code reporting function
@@ -44,6 +43,5 @@ RtLedReportStatusCode (
IN UINT32 Instance,
IN EFI_GUID * CallerId,
IN EFI_STATUS_CODE_DATA * Data OPTIONAL
- )
-;
+ );
#endif
diff --git a/EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/Include/RtMemoryStatusCodeLib.h b/EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/Include/RtMemoryStatusCodeLib.h
index 24a74f3357..1937791051 100644
--- a/EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/Include/RtMemoryStatusCodeLib.h
+++ b/EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/Include/RtMemoryStatusCodeLib.h
@@ -35,8 +35,7 @@ EFIAPI
RtMemoryInitializeStatusCode (
IN EFI_HANDLE ImageHandle,
IN EFI_SYSTEM_TABLE *SystemTable
- )
-;
+ );
//
// Status code reporting function
@@ -49,8 +48,7 @@ RtMemoryReportStatusCode (
IN UINT32 Instance,
IN EFI_GUID * CallerId,
IN EFI_STATUS_CODE_DATA * Data OPTIONAL
- )
-;
+ );
//
// Playback all prior status codes to a listener
@@ -69,7 +67,6 @@ VOID
EFIAPI
PlaybackStatusCodes (
IN PLATFORM_REPORT_STATUS_CODE ReportStatusCode
- )
-;
+ );
#endif
diff --git a/EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/Include/RtPlatformStatusCodeLib.h b/EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/Include/RtPlatformStatusCodeLib.h
index 22f02b763a..6c94d83e81 100644
--- a/EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/Include/RtPlatformStatusCodeLib.h
+++ b/EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/Include/RtPlatformStatusCodeLib.h
@@ -36,8 +36,7 @@ EFIAPI
RtPlatformInitializeStatusCode (
IN EFI_HANDLE ImageHandle,
IN EFI_SYSTEM_TABLE *SystemTable
- )
-;
+ );
//
// Status code reporting function
@@ -50,7 +49,6 @@ RtPlatformReportStatusCode (
IN UINT32 Instance,
IN EFI_GUID * CallerId,
IN EFI_STATUS_CODE_DATA * Data OPTIONAL
- )
-;
+ );
#endif
diff --git a/EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/Include/RtPort80StatusCodeLib.h b/EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/Include/RtPort80StatusCodeLib.h
index 854de9b443..978939c615 100644
--- a/EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/Include/RtPort80StatusCodeLib.h
+++ b/EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/Include/RtPort80StatusCodeLib.h
@@ -38,7 +38,6 @@ RtPort80ReportStatusCode (
IN UINT32 Instance,
IN EFI_GUID * CallerId,
IN EFI_STATUS_CODE_DATA * Data OPTIONAL
- )
-;
+ );
#endif
diff --git a/EdkCompatibilityPkg/Sample/Tools/Source/Common/CommonLib.h b/EdkCompatibilityPkg/Sample/Tools/Source/Common/CommonLib.h
index f36856e5fb..44bc53e91c 100644
--- a/EdkCompatibilityPkg/Sample/Tools/Source/Common/CommonLib.h
+++ b/EdkCompatibilityPkg/Sample/Tools/Source/Common/CommonLib.h
@@ -32,80 +32,69 @@ VOID
PeiZeroMem (
IN VOID *Buffer,
IN UINTN Size
- )
-;
+ );
VOID
PeiCopyMem (
IN VOID *Destination,
IN VOID *Source,
IN UINTN Length
- )
-;
+ );
VOID
ZeroMem (
IN VOID *Buffer,
IN UINTN Size
- )
-;
+ );
VOID
CopyMem (
IN VOID *Destination,
IN VOID *Source,
IN UINTN Length
- )
-;
+ );
INTN
CompareGuid (
IN EFI_GUID *Guid1,
IN EFI_GUID *Guid2
- )
-;
+ );
EFI_STATUS
GetFileImage (
IN CHAR8 *InputFileName,
OUT CHAR8 **InputFileImage,
OUT UINT32 *BytesRead
- )
-;
+ );
UINT8
CalculateChecksum8 (
IN UINT8 *Buffer,
IN UINTN Size
- )
-;
+ );
UINT8
CalculateSum8 (
IN UINT8 *Buffer,
IN UINTN Size
- )
-;
+ );
UINT16
CalculateChecksum16 (
IN UINT16 *Buffer,
IN UINTN Size
- )
-;
+ );
UINT16
CalculateSum16 (
IN UINT16 *Buffer,
IN UINTN Size
- )
-;
+ );
EFI_STATUS
PrintGuid (
IN EFI_GUID *Guid
- )
-;
+ );
#define PRINTED_GUID_BUFFER_SIZE 37 // including null-termination
EFI_STATUS
@@ -114,7 +103,6 @@ PrintGuidToBuffer (
IN OUT UINT8 *Buffer,
IN UINT32 BufferLen,
IN BOOLEAN Uppercase
- )
-;
+ );
#endif
diff --git a/EdkCompatibilityPkg/Sample/Tools/Source/Common/Compress.h b/EdkCompatibilityPkg/Sample/Tools/Source/Common/Compress.h
index 43535936a6..f0e0ecb6cf 100644
--- a/EdkCompatibilityPkg/Sample/Tools/Source/Common/Compress.h
+++ b/EdkCompatibilityPkg/Sample/Tools/Source/Common/Compress.h
@@ -36,8 +36,7 @@ TianoCompress (
IN UINT32 SrcSize,
IN UINT8 *DstBuffer,
IN OUT UINT32 *DstSize
- )
-;
+ );
/*++
@@ -52,8 +51,7 @@ EfiCompress (
IN UINT32 SrcSize,
IN UINT8 *DstBuffer,
IN OUT UINT32 *DstSize
- )
-;
+ );
/*++
diff --git a/EdkCompatibilityPkg/Sample/Tools/Source/Common/Crc32.h b/EdkCompatibilityPkg/Sample/Tools/Source/Common/Crc32.h
index 170711a677..c2d062d256 100644
--- a/EdkCompatibilityPkg/Sample/Tools/Source/Common/Crc32.h
+++ b/EdkCompatibilityPkg/Sample/Tools/Source/Common/Crc32.h
@@ -26,8 +26,7 @@ CalculateCrc32 (
IN UINT8 *Data,
IN UINTN DataSize,
IN OUT UINT32 *CrcOut
- )
-;
+ );
/*++
diff --git a/EdkCompatibilityPkg/Sample/Tools/Source/Common/EfiCustomizedCompress.h b/EdkCompatibilityPkg/Sample/Tools/Source/Common/EfiCustomizedCompress.h
index d1fa22066e..2a7b8d1569 100644
--- a/EdkCompatibilityPkg/Sample/Tools/Source/Common/EfiCustomizedCompress.h
+++ b/EdkCompatibilityPkg/Sample/Tools/Source/Common/EfiCustomizedCompress.h
@@ -24,8 +24,7 @@ Abstract:
EFI_STATUS
SetCustomizedCompressionType (
IN CHAR8 *Type
- )
-;
+ );
/*++
@@ -49,8 +48,7 @@ CustomizedGetInfo (
IN UINT32 SrcSize,
OUT UINT32 *DstSize,
OUT UINT32 *ScratchSize
- )
-;
+ );
/*++
@@ -79,8 +77,7 @@ CustomizedDecompress (
IN UINT32 DstSize,
IN OUT VOID *Scratch,
IN UINT32 ScratchSize
- )
-;
+ );
/*++
@@ -110,8 +107,7 @@ CustomizedCompress (
IN UINT32 SrcSize,
IN UINT8 *DstBuffer,
IN OUT UINT32 *DstSize
- )
-;
+ );
/*++
diff --git a/EdkCompatibilityPkg/Sample/Tools/Source/Common/EfiUtilityMsgs.h b/EdkCompatibilityPkg/Sample/Tools/Source/Common/EfiUtilityMsgs.h
index 2da1fe58f6..65b1c7f9c2 100644
--- a/EdkCompatibilityPkg/Sample/Tools/Source/Common/EfiUtilityMsgs.h
+++ b/EdkCompatibilityPkg/Sample/Tools/Source/Common/EfiUtilityMsgs.h
@@ -53,8 +53,7 @@ GetUtilityStatus (
void
SetUtilityName (
INT8 *ProgramName
- )
-;
+ );
void
Error (
@@ -64,8 +63,7 @@ Error (
INT8 *OffendingText,
INT8 *MsgFmt,
...
- )
-;
+ );
void
Warning (
@@ -75,8 +73,7 @@ Warning (
INT8 *OffendingText,
INT8 *MsgFmt,
...
- )
-;
+ );
void
DebugMsg (
@@ -86,21 +83,18 @@ DebugMsg (
INT8 *OffendingText,
INT8 *MsgFmt,
...
- )
-;
+ );
void
SetDebugMsgMask (
UINT32 MsgMask
- )
-;
+ );
void
ParserSetPosition (
INT8 *SourceFileName,
UINT32 LineNum
- )
-;
+ );
void
ParserError (
@@ -108,8 +102,7 @@ ParserError (
INT8 *OffendingText,
INT8 *MsgFmt,
...
- )
-;
+ );
void
ParserWarning (
@@ -117,16 +110,14 @@ ParserWarning (
INT8 *OffendingText,
INT8 *MsgFmt,
...
- )
-;
+ );
void
SetPrintLimits (
UINT32 NumErrors,
UINT32 NumWarnings,
UINT32 NumWarningsPlusErrors
- )
-;
+ );
#ifdef __cplusplus
}
diff --git a/EdkCompatibilityPkg/Sample/Tools/Source/Common/FvLib.h b/EdkCompatibilityPkg/Sample/Tools/Source/Common/FvLib.h
index 4b7ef0a332..88c40cdbcb 100644
--- a/EdkCompatibilityPkg/Sample/Tools/Source/Common/FvLib.h
+++ b/EdkCompatibilityPkg/Sample/Tools/Source/Common/FvLib.h
@@ -34,37 +34,32 @@ EFI_STATUS
InitializeFvLib (
IN VOID *Fv,
IN UINT32 FvLength
- )
-;
+ );
EFI_STATUS
GetFvHeader (
OUT EFI_FIRMWARE_VOLUME_HEADER **FvHeader,
OUT UINT32 *FvLength
- )
-;
+ );
EFI_STATUS
GetNextFile (
IN EFI_FFS_FILE_HEADER *CurrentFile,
OUT EFI_FFS_FILE_HEADER **NextFile
- )
-;
+ );
EFI_STATUS
GetFileByName (
IN EFI_GUID *FileName,
OUT EFI_FFS_FILE_HEADER **File
- )
-;
+ );
EFI_STATUS
GetFileByType (
IN EFI_FV_FILETYPE FileType,
IN UINTN Instance,
OUT EFI_FFS_FILE_HEADER **File
- )
-;
+ );
EFI_STATUS
GetSectionByType (
@@ -72,22 +67,19 @@ GetSectionByType (
IN EFI_SECTION_TYPE SectionType,
IN UINTN Instance,
OUT EFI_FILE_SECTION_POINTER *Section
- )
-;
+ );
//
// will not parse compressed sections
//
EFI_STATUS
VerifyFv (
IN EFI_FIRMWARE_VOLUME_HEADER *FvHeader
- )
-;
+ );
EFI_STATUS
VerifyFfsFile (
IN EFI_FFS_FILE_HEADER *FfsHeader
- )
-;
+ );
/*++
@@ -109,8 +101,7 @@ Returns:
UINT32
GetLength (
UINT8 *ThreeByteLength
- )
-;
+ );
/*++
@@ -130,8 +121,7 @@ Returns:
EFI_STATUS
GetErasePolarity (
OUT BOOLEAN *ErasePolarity
- )
-;
+ );
/*++
@@ -154,8 +144,7 @@ UINT8
GetFileState (
IN BOOLEAN ErasePolarity,
IN EFI_FFS_FILE_HEADER *FfsHeader
- )
-;
+ );
/*++
diff --git a/EdkCompatibilityPkg/Sample/Tools/Source/Common/MyAlloc.h b/EdkCompatibilityPkg/Sample/Tools/Source/Common/MyAlloc.h
index 2d195c2561..5cfb4e0cab 100644
--- a/EdkCompatibilityPkg/Sample/Tools/Source/Common/MyAlloc.h
+++ b/EdkCompatibilityPkg/Sample/Tools/Source/Common/MyAlloc.h
@@ -89,8 +89,7 @@ MyCheck (
BOOLEAN Final,
UINT8 File[],
UINTN Line
- )
-;
+ );
//
// *++
// Description:
@@ -121,8 +120,7 @@ MyAlloc (
UINTN Size,
UINT8 File[],
UINTN Line
- )
-;
+ );
//
// *++
// Description:
@@ -153,8 +151,7 @@ MyRealloc (
UINTN Size,
UINT8 File[],
UINTN Line
- )
-;
+ );
//
// *++
// Description:
@@ -185,8 +182,7 @@ MyFree (
VOID *Ptr,
UINT8 File[],
UINTN Line
- )
-;
+ );
//
// *++
// Description:
diff --git a/EdkCompatibilityPkg/Sample/Tools/Source/Common/ParseInf.h b/EdkCompatibilityPkg/Sample/Tools/Source/Common/ParseInf.h
index 0b4fec7a1f..32b94bc69f 100644
--- a/EdkCompatibilityPkg/Sample/Tools/Source/Common/ParseInf.h
+++ b/EdkCompatibilityPkg/Sample/Tools/Source/Common/ParseInf.h
@@ -43,8 +43,7 @@ ReadLine (
IN MEMORY_FILE *InputFile,
IN OUT CHAR8 *InputBuffer,
IN UINT32 MaxLength
- )
-;
+ );
/*++
@@ -73,8 +72,7 @@ BOOLEAN
FindSection (
IN MEMORY_FILE *InputFile,
IN CHAR8 *Section
- )
-;
+ );
/*++
@@ -101,8 +99,7 @@ FindToken (
IN CHAR8 *Token,
IN UINTN Instance,
OUT CHAR8 *Value
- )
-;
+ );
/*++
@@ -131,8 +128,7 @@ EFI_STATUS
StringToGuid (
IN CHAR8 *AsciiGuidBuffer,
OUT EFI_GUID *GuidBuffer
- )
-;
+ );
/*++
@@ -157,8 +153,7 @@ AsciiStringToUint64 (
IN CONST CHAR8 *AsciiString,
IN BOOLEAN IsHex,
OUT UINT64 *ReturnValue
- )
-;
+ );
/*++
@@ -185,8 +180,7 @@ CHAR8 *
ReadLineInStream (
IN FILE *InputFile,
IN OUT CHAR8 *InputBuffer
- )
-;
+ );
/*++
@@ -209,8 +203,7 @@ BOOLEAN
FindSectionInStream (
IN FILE *InputFile,
IN CHAR8 *Section
- )
-;
+ );
/*++
diff --git a/EdkCompatibilityPkg/Sample/Tools/Source/Common/SimpleFileParsing.h b/EdkCompatibilityPkg/Sample/Tools/Source/Common/SimpleFileParsing.h
index ee59a6d8d4..67e4fdf37b 100644
--- a/EdkCompatibilityPkg/Sample/Tools/Source/Common/SimpleFileParsing.h
+++ b/EdkCompatibilityPkg/Sample/Tools/Source/Common/SimpleFileParsing.h
@@ -27,40 +27,34 @@ Abstract:
STATUS
SFPInit (
VOID
- )
-;
+ );
STATUS
SFPOpenFile (
char *FileName
- )
-;
+ );
BOOLEAN
SFPIsKeyword (
T_CHAR *Str
- )
-;
+ );
BOOLEAN
SFPIsToken (
T_CHAR *Str
- )
-;
+ );
BOOLEAN
SFPGetNextToken (
T_CHAR *Str,
unsigned int Len
- )
-;
+ );
BOOLEAN
SFPGetGuidToken (
T_CHAR *Str,
UINT32 Len
- )
-;
+ );
#define PARSE_GUID_STYLE_5_FIELDS 0
@@ -68,51 +62,43 @@ BOOLEAN
SFPGetGuid (
int GuidStyle,
EFI_GUID *Value
- )
-;
+ );
BOOLEAN
SFPSkipToToken (
T_CHAR *Str
- )
-;
+ );
BOOLEAN
SFPGetNumber (
unsigned int *Value
- )
-;
+ );
BOOLEAN
SFPGetQuotedString (
T_CHAR *Str,
int Length
- )
-;
+ );
BOOLEAN
SFPIsEOF (
VOID
- )
-;
+ );
STATUS
SFPCloseFile (
VOID
- )
-;
+ );
unsigned
int
SFPGetLineNumber (
VOID
- )
-;
+ );
T_CHAR *
SFPGetFileName (
VOID
- )
-;
+ );
#endif // #ifndef _SIMPLE_FILE_PARSING_H_
diff --git a/EdkCompatibilityPkg/Sample/Tools/Source/GenFvImage/GenFvImageLib.h b/EdkCompatibilityPkg/Sample/Tools/Source/GenFvImage/GenFvImageLib.h
index d275ffbc3a..2670ed5cce 100644
--- a/EdkCompatibilityPkg/Sample/Tools/Source/GenFvImage/GenFvImageLib.h
+++ b/EdkCompatibilityPkg/Sample/Tools/Source/GenFvImage/GenFvImageLib.h
@@ -62,8 +62,7 @@ GenerateFvImage (
OUT UINT8 **SymImage,
OUT UINTN *SymImageSize,
OUT CHAR8 **SymFileName
- )
-;
+ );
/*++
@@ -94,8 +93,7 @@ EFI_STATUS
UpdatePeiCoreEntryInFit (
IN FIT_TABLE *FitTablePtr,
IN UINT64 PeiCorePhysicalAddress
- )
-;
+ );
/*++
@@ -118,8 +116,7 @@ Returns:
VOID
UpdateFitCheckSum (
IN FIT_TABLE *FitTablePtr
- )
-;
+ );
/*++
diff --git a/EdkCompatibilityPkg/Sample/Tools/Source/GenFvImage/GenFvImageLibInternal.h b/EdkCompatibilityPkg/Sample/Tools/Source/GenFvImage/GenFvImageLibInternal.h
index 505188b495..5bc541ca88 100644
--- a/EdkCompatibilityPkg/Sample/Tools/Source/GenFvImage/GenFvImageLibInternal.h
+++ b/EdkCompatibilityPkg/Sample/Tools/Source/GenFvImage/GenFvImageLibInternal.h
@@ -206,7 +206,6 @@ EFI_STATUS
ParseFvInf (
IN MEMORY_FILE *InfFile,
IN FV_INFO *FvInfo
- )
-;
+ );
#endif
diff --git a/EdkCompatibilityPkg/Sample/Tools/Source/GuidChk/CommonUtils.h b/EdkCompatibilityPkg/Sample/Tools/Source/GuidChk/CommonUtils.h
index f7a331e5d7..648f20f252 100644
--- a/EdkCompatibilityPkg/Sample/Tools/Source/GuidChk/CommonUtils.h
+++ b/EdkCompatibilityPkg/Sample/Tools/Source/GuidChk/CommonUtils.h
@@ -51,7 +51,6 @@ typedef struct _STRING_LIST {
int
CreateGuidList (
INT8 *OutFileName
- )
-;
+ );
#endif // #ifndef _COMMON_UTILS_H_
diff --git a/EdkCompatibilityPkg/Sample/Tools/Source/GuidChk/FileSearch.h b/EdkCompatibilityPkg/Sample/Tools/Source/GuidChk/FileSearch.h
index bc40265366..81fd8672d3 100644
--- a/EdkCompatibilityPkg/Sample/Tools/Source/GuidChk/FileSearch.h
+++ b/EdkCompatibilityPkg/Sample/Tools/Source/GuidChk/FileSearch.h
@@ -64,45 +64,38 @@ typedef struct {
STATUS
FileSearchInit (
FILE_SEARCH_DATA *FSData
- )
-;
+ );
STATUS
FileSearchDestroy (
FILE_SEARCH_DATA *FSData
- )
-;
+ );
STATUS
FileSearchStart (
FILE_SEARCH_DATA *FSData,
char *FileMask,
UINT32 SearchFlags
- )
-;
+ );
STATUS
FileSearchFindNext (
FILE_SEARCH_DATA *FSData
- )
-;
+ );
STATUS
FileSearchExcludeDirs (
FILE_SEARCH_DATA *FSData,
STRING_LIST *StrList
- )
-;
+ );
STATUS
FileSearchExcludeExtensions (
FILE_SEARCH_DATA *FSData,
STRING_LIST *StrList
- )
-;
+ );
STATUS
FileSearchExcludeFiles (
FILE_SEARCH_DATA *FSData,
STRING_LIST *StrList
- )
-;
+ );
#endif
diff --git a/EdkCompatibilityPkg/Sample/Tools/Source/GuidChk/UtilsMsgs.h b/EdkCompatibilityPkg/Sample/Tools/Source/GuidChk/UtilsMsgs.h
index 5f6c7010b4..f808ab03a9 100644
--- a/EdkCompatibilityPkg/Sample/Tools/Source/GuidChk/UtilsMsgs.h
+++ b/EdkCompatibilityPkg/Sample/Tools/Source/GuidChk/UtilsMsgs.h
@@ -25,8 +25,7 @@ Abstract:
STATUS
GetUtilityStatus (
VOID
- )
-;
+ );
//
// If someone prints an error message and didn't specify a source file name,
@@ -36,8 +35,7 @@ GetUtilityStatus (
VOID
SetUtilityName (
INT8 *ProgramName
- )
-;
+ );
void
Error (
@@ -47,8 +45,7 @@ Error (
INT8 *OffendingText,
INT8 *MsgFmt,
...
- )
-;
+ );
void
Warning (
@@ -58,8 +55,7 @@ Warning (
INT8 *OffendingText,
INT8 *MsgFmt,
...
- )
-;
+ );
void
DebugMsg (
@@ -69,21 +65,18 @@ DebugMsg (
INT8 *OffendingText,
INT8 *MsgFmt,
...
- )
-;
+ );
void
SetDebugMsgMask (
UINT32 MsgMask
- )
-;
+ );
void
ParserSetPosition (
INT8 *SourceFileName,
UINT32 LineNum
- )
-;
+ );
void
ParserError (
@@ -91,8 +84,7 @@ ParserError (
INT8 *OffendingText,
INT8 *MsgFmt,
...
- )
-;
+ );
void
ParserWarning (
@@ -100,7 +92,6 @@ ParserWarning (
INT8 *OffendingText,
INT8 *MsgFmt,
...
- )
-;
+ );
#endif
diff --git a/EdkCompatibilityPkg/Sample/Tools/Source/ProcessDsc/DscFile.h b/EdkCompatibilityPkg/Sample/Tools/Source/ProcessDsc/DscFile.h
index 4dcad547ec..0ed7128d88 100644
--- a/EdkCompatibilityPkg/Sample/Tools/Source/ProcessDsc/DscFile.h
+++ b/EdkCompatibilityPkg/Sample/Tools/Source/ProcessDsc/DscFile.h
@@ -70,40 +70,33 @@ int
DSCFileSetFile (
DSC_FILE *DSC,
char *FileName
- )
-;
+ );
SECTION *
DSCFileFindSection (
DSC_FILE *DSC,
char *Name
- )
-;
+ );
int
DSCFileSavePosition (
DSC_FILE *DSC
- )
-;
+ );
int
DSCFileRestorePosition (
DSC_FILE *DSC
- )
-;
+ );
char *
DSCFileGetLine (
DSC_FILE *DSC,
char *Line,
int LineLen
- )
-;
+ );
int
DSCFileInit (
DSC_FILE *DSC
- )
-;
+ );
int
DSCFileDestroy (
DSC_FILE *DSC
- )
-;
+ );
#endif // ifndef _DSC_FILE_H_
diff --git a/EdkCompatibilityPkg/Sample/Tools/Source/ProcessDsc/Exceptions.h b/EdkCompatibilityPkg/Sample/Tools/Source/ProcessDsc/Exceptions.h
index 1425d4387a..625d1e13e4 100644
--- a/EdkCompatibilityPkg/Sample/Tools/Source/ProcessDsc/Exceptions.h
+++ b/EdkCompatibilityPkg/Sample/Tools/Source/ProcessDsc/Exceptions.h
@@ -31,27 +31,22 @@ Abstract:
int
InitExceptions (
VOID
- )
-;
+ );
int
TryException (
VOID
- )
-;
+ );
char *
CatchException (
VOID
- )
-;
+ );
int
ExceptionThrown (
VOID
- )
-;
+ );
int
ThrowException (
char *EMsg
- )
-;
+ );
#endif // ifndef _EXCEPTIONS_H_
diff --git a/EdkCompatibilityPkg/Sample/Tools/Source/ProcessDsc/FWVolume.h b/EdkCompatibilityPkg/Sample/Tools/Source/ProcessDsc/FWVolume.h
index 4a7af36e73..f42f97777e 100644
--- a/EdkCompatibilityPkg/Sample/Tools/Source/ProcessDsc/FWVolume.h
+++ b/EdkCompatibilityPkg/Sample/Tools/Source/ProcessDsc/FWVolume.h
@@ -31,13 +31,11 @@ Abstract:
void
CFVConstructor (
VOID
- )
-;
+ );
void
CFVDestructor (
VOID
- )
-;
+ );
int
CFVAddFVFile (
@@ -50,27 +48,23 @@ CFVAddFVFile (
char *Apriori,
char *BaseName,
char *Guid
- )
-;
+ );
int
CFVSetXRefFileName (
char *FileName
- )
-;
+ );
int
CFVWriteInfFiles (
DSC_FILE *DSC,
FILE *MakeFptr
- )
-;
+ );
int
NonFFSFVWriteInfFiles (
DSC_FILE *DSC,
char *FileName
- )
-;
+ );
#endif // ifndef _FW_VOLUME_H_
diff --git a/EdkCompatibilityPkg/Sample/Tools/Source/StrGather/StringDB.h b/EdkCompatibilityPkg/Sample/Tools/Source/StrGather/StringDB.h
index 4dc05a3642..66494c8eee 100644
--- a/EdkCompatibilityPkg/Sample/Tools/Source/StrGather/StringDB.h
+++ b/EdkCompatibilityPkg/Sample/Tools/Source/StrGather/StringDB.h
@@ -28,13 +28,11 @@ Abstract:
void
StringDBConstructor (
void
- )
-;
+ );
void
StringDBDestructor (
void
- )
-;
+ );
STATUS
StringDBAddString (
@@ -44,14 +42,12 @@ StringDBAddString (
WCHAR *String,
BOOLEAN Format,
UINT16 Flags
- )
-;
+ );
STATUS
StringDBSetScope (
WCHAR *Scope
- )
-;
+ );
#define STRING_FLAGS_REFERENCED 0x0001 // if referenced somewhere
#define STRING_FLAGS_UNDEFINED 0x0002 // if we added it for padding purposes
@@ -65,38 +61,33 @@ StringDBAddStringIdentifier (
WCHAR *StringIdentifier,
UINT16 *NewId,
UINT16 Flags
- )
-;
+ );
STATUS
StringDBReadDatabase (
INT8 *DBFileName,
BOOLEAN IgnoreIfNotExist,
BOOLEAN Verbose
- )
-;
+ );
STATUS
StringDBWriteDatabase (
INT8 *DBFileName,
BOOLEAN Verbose
- )
-;
+ );
STATUS
StringDBDumpDatabase (
INT8 *DBFileName,
INT8 *OutputFileName,
BOOLEAN Verbose
- )
-;
+ );
STATUS
StringDBAddLanguage (
WCHAR *LanguageName,
WCHAR *PrintableLanguageName
- )
-;
+ );
STATUS
StringDBDumpCStrings (
@@ -104,33 +95,28 @@ StringDBDumpCStrings (
INT8 *BaseName,
WCHAR_STRING_LIST *LanguagesOfInterest,
WCHAR_MATCHING_STRING_LIST *IndirectionList
- )
-;
+ );
STATUS
StringDBDumpStringDefines (
INT8 *FileName,
INT8 *BaseName
- )
-;
+ );
STATUS
StringDBSetCurrentLanguage (
WCHAR *LanguageName
- )
-;
+ );
STATUS
StringDBSetStringReferenced (
INT8 *StringIdentifierName,
BOOLEAN IgnoreNotFound
- )
-;
+ );
void
StringDBFormatString (
WCHAR *String
- )
-;
+ );
#endif // #ifndef _STRING_DB_H_
diff --git a/EdkCompatibilityPkg/Sample/Tools/Source/UefiStrGather/StringDB.h b/EdkCompatibilityPkg/Sample/Tools/Source/UefiStrGather/StringDB.h
index 6b485c7c9e..3a5ad387bf 100644
--- a/EdkCompatibilityPkg/Sample/Tools/Source/UefiStrGather/StringDB.h
+++ b/EdkCompatibilityPkg/Sample/Tools/Source/UefiStrGather/StringDB.h
@@ -134,13 +134,11 @@ typedef struct _SPkgBlkBuffer {
void
StringDBConstructor (
void
- )
-;
+ );
void
StringDBDestructor (
void
- )
-;
+ );
STATUS
StringDBAddString (
@@ -150,14 +148,12 @@ StringDBAddString (
WCHAR *String,
BOOLEAN Format,
UINT16 Flags
- )
-;
+ );
STATUS
StringDBSetScope (
WCHAR *Scope
- )
-;
+ );
#define STRING_FLAGS_REFERENCED 0x0001 // if referenced somewhere
#define STRING_FLAGS_UNDEFINED 0x0002 // if we added it for padding purposes
@@ -171,84 +167,72 @@ StringDBAddStringIdentifier (
WCHAR *StringIdentifier,
UINT16 *NewId,
UINT16 Flags
- )
-;
+ );
STATUS
StringDBReadDatabase (
INT8 *DBFileName,
BOOLEAN IgnoreIfNotExist,
BOOLEAN Verbose
- )
-;
+ );
STATUS
StringDBWriteDatabase (
INT8 *DBFileName,
BOOLEAN Verbose
- )
-;
+ );
STATUS
StringDBDumpDatabase (
INT8 *DBFileName,
INT8 *OutputFileName,
BOOLEAN Verbose
- )
-;
+ );
STATUS
StringDBAddLanguage (
WCHAR *LanguageName,
WCHAR *PrintableLanguageName,
WCHAR *SecondaryLanguageList
- )
-;
+ );
STATUS
StringDBAddSecondaryLanguage (
WCHAR *LanguageName,
WCHAR *SecondaryLanguageList
- )
-;
+ );
STATUS
StringDBDumpCStrings (
INT8 *BaseName,
INT8 *FileName
- )
-;
+ );
STATUS
StringDBDumpStringDefines (
INT8 *FileName,
INT8 *BaseName
- )
-;
+ );
STATUS
StringDBSetCurrentLanguage (
WCHAR *LanguageName
- )
-;
+ );
STATUS
StringDBSetStringReferenced (
INT8 *StringIdentifierName,
BOOLEAN IgnoreNotFound
- )
-;
+ );
void
StringDBFormatString (
WCHAR *String
- )
-;
+ );
LANGUAGE_LIST *
StringDBFindLanguageList (
WCHAR *LanguageName
- )
-;
+ );
#endif // #ifndef _STRING_DB_H_