From e00e1d46940a267d6fbe92be4ed2e547b4e946dc Mon Sep 17 00:00:00 2001 From: vanjeff Date: Thu, 4 Sep 2008 09:44:58 +0000 Subject: 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 --- .../Sample/Tools/Source/GuidChk/CommonUtils.h | 3 +-- .../Sample/Tools/Source/GuidChk/FileSearch.h | 21 ++++++----------- .../Sample/Tools/Source/GuidChk/UtilsMsgs.h | 27 ++++++++-------------- 3 files changed, 17 insertions(+), 34 deletions(-) (limited to 'EdkCompatibilityPkg/Sample/Tools/Source/GuidChk') 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 -- cgit v1.2.3