From ed66e1bc0d2be0a185fc47adab4930c3b7e2767f Mon Sep 17 00:00:00 2001 From: vanjeff Date: Thu, 4 Sep 2008 09:37:28 +0000 Subject: clean up the un-suitable ';' location when declaring the functions. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5820 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Include/Library/CapsuleLib.h | 6 ++---- MdeModulePkg/Include/Library/ExtendedHiiLib.h | 6 ++---- MdeModulePkg/Include/Library/ExtendedIfrSupportLib.h | 12 ++++-------- MdeModulePkg/Include/Library/GenericBdsLib.h | 6 ++---- MdeModulePkg/Include/Library/PlatformBdsLib.h | 15 +++++---------- MdeModulePkg/Include/Library/RecoveryLib.h | 3 +-- MdeModulePkg/Include/Library/S3Lib.h | 3 +-- MdeModulePkg/Include/Protocol/ConsoleControl.h | 9 +++------ MdeModulePkg/Include/Protocol/DiskInfo.h | 12 ++++-------- MdeModulePkg/Include/Protocol/FaultTolerantWriteLite.h | 3 +-- MdeModulePkg/Include/Protocol/GenericMemoryTest.h | 12 ++++-------- 11 files changed, 29 insertions(+), 58 deletions(-) (limited to 'MdeModulePkg/Include') diff --git a/MdeModulePkg/Include/Library/CapsuleLib.h b/MdeModulePkg/Include/Library/CapsuleLib.h index 80df80e628..3bbc8c03c4 100644 --- a/MdeModulePkg/Include/Library/CapsuleLib.h +++ b/MdeModulePkg/Include/Library/CapsuleLib.h @@ -29,8 +29,7 @@ EFI_STATUS EFIAPI SupportCapsuleImage ( IN EFI_CAPSULE_HEADER *CapsuleHeader - ) -; + ); /** The firmware implements to process the capsule image. @@ -44,8 +43,7 @@ EFI_STATUS EFIAPI ProcessCapsuleImage ( IN EFI_CAPSULE_HEADER *CapsuleHeader - ) -; + ); #endif diff --git a/MdeModulePkg/Include/Library/ExtendedHiiLib.h b/MdeModulePkg/Include/Library/ExtendedHiiLib.h index d2bfb4a75b..15c9760355 100644 --- a/MdeModulePkg/Include/Library/ExtendedHiiLib.h +++ b/MdeModulePkg/Include/Library/ExtendedHiiLib.h @@ -35,8 +35,7 @@ EFI_STATUS EFIAPI HiiLibCreateHiiDriverHandle ( OUT EFI_HANDLE *DriverHandle - ) -; + ); /** Destroy the Driver Handle created by CreateHiiDriverHandle(). @@ -52,8 +51,7 @@ VOID EFIAPI HiiLibDestroyHiiDriverHandle ( IN EFI_HANDLE DriverHandle - ) -; + ); #endif diff --git a/MdeModulePkg/Include/Library/ExtendedIfrSupportLib.h b/MdeModulePkg/Include/Library/ExtendedIfrSupportLib.h index 4bef9bbe14..2d8db3b9e2 100644 --- a/MdeModulePkg/Include/Library/ExtendedIfrSupportLib.h +++ b/MdeModulePkg/Include/Library/ExtendedIfrSupportLib.h @@ -37,8 +37,7 @@ CreateBannerOpCode ( IN UINT16 LineNumber, IN UINT8 Alignment, IN OUT EFI_HII_UPDATE_DATA *Data - ) -; + ); /** This function allows the caller to update a form that has @@ -71,8 +70,7 @@ IfrLibUpdateForm ( IN UINT16 Label, IN BOOLEAN Insert, IN EFI_HII_UPDATE_DATA *Data - ) -; + ); /** Extract formset class for given HII handle. @@ -100,8 +98,7 @@ IfrLibExtractClassFromHiiHandle ( OUT UINT16 *Class, OUT EFI_STRING_ID *FormSetTitle, OUT EFI_STRING_ID *FormSetHelp - ) -; + ); /** Configure the buffer accrording to ConfigBody strings in the format of @@ -124,8 +121,7 @@ IfrLibExtractDefault( IN UINTN *BufferSize, UINTN Number, ... - ) -; + ); #endif diff --git a/MdeModulePkg/Include/Library/GenericBdsLib.h b/MdeModulePkg/Include/Library/GenericBdsLib.h index 8816e5f8ad..654271dff6 100644 --- a/MdeModulePkg/Include/Library/GenericBdsLib.h +++ b/MdeModulePkg/Include/Library/GenericBdsLib.h @@ -1048,8 +1048,7 @@ EFIAPI DevPathVendor ( IN OUT POOL_PRINT *Str, IN VOID *DevPath - ) -; + ); /** Concatenates a formatted unicode string to allocated pool. @@ -1070,7 +1069,6 @@ CatPrint ( IN OUT POOL_PRINT *Str, IN CHAR16 *fmt, ... - ) -; + ); #endif diff --git a/MdeModulePkg/Include/Library/PlatformBdsLib.h b/MdeModulePkg/Include/Library/PlatformBdsLib.h index a10789bd35..2fcb310d74 100644 --- a/MdeModulePkg/Include/Library/PlatformBdsLib.h +++ b/MdeModulePkg/Include/Library/PlatformBdsLib.h @@ -59,8 +59,7 @@ VOID EFIAPI PlatformBdsInit ( IN EFI_BDS_ARCH_PROTOCOL_INSTANCE *PrivateData - ) -; + ); /** The function will excute with as the platform policy, current policy @@ -78,8 +77,7 @@ PlatformBdsPolicyBehavior ( IN EFI_BDS_ARCH_PROTOCOL_INSTANCE *PrivateData, IN LIST_ENTRY *DriverOptionList, IN LIST_ENTRY *BootOptionList - ) -; + ); /** Hook point after a boot attempt fails. @@ -97,8 +95,7 @@ PlatformBdsBootFail ( IN EFI_STATUS Status, IN CHAR16 *ExitData, IN UINTN ExitDataSize - ) -; + ); /** Hook point after a boot attempt succeeds. We don't expect a boot option to @@ -113,8 +110,7 @@ VOID EFIAPI PlatformBdsBootSuccess ( IN BDS_COMMON_OPTION *Option - ) -; + ); /** @@ -127,6 +123,5 @@ EFI_STATUS EFIAPI PlatformBdsLockNonUpdatableFlash ( VOID - ) -; + ); #endif diff --git a/MdeModulePkg/Include/Library/RecoveryLib.h b/MdeModulePkg/Include/Library/RecoveryLib.h index ae806e7bb9..fc0413656d 100644 --- a/MdeModulePkg/Include/Library/RecoveryLib.h +++ b/MdeModulePkg/Include/Library/RecoveryLib.h @@ -26,8 +26,7 @@ EFI_STATUS EFIAPI PeiRecoverFirmware ( VOID - ) -; + ); #endif diff --git a/MdeModulePkg/Include/Library/S3Lib.h b/MdeModulePkg/Include/Library/S3Lib.h index dd21d6e09c..8e2a25d14f 100644 --- a/MdeModulePkg/Include/Library/S3Lib.h +++ b/MdeModulePkg/Include/Library/S3Lib.h @@ -26,8 +26,7 @@ EFI_STATUS EFIAPI AcpiS3ResumeOs ( VOID - ) -; + ); #endif diff --git a/MdeModulePkg/Include/Protocol/ConsoleControl.h b/MdeModulePkg/Include/Protocol/ConsoleControl.h index b00587c8b3..b14b54d028 100644 --- a/MdeModulePkg/Include/Protocol/ConsoleControl.h +++ b/MdeModulePkg/Include/Protocol/ConsoleControl.h @@ -49,8 +49,7 @@ EFI_STATUS OUT EFI_CONSOLE_CONTROL_SCREEN_MODE *Mode, OUT BOOLEAN *GopUgaExists, OPTIONAL OUT BOOLEAN *StdInLocked OPTIONAL - ) -; + ); /** Set the current video mode to either text or graphics. @@ -68,8 +67,7 @@ EFI_STATUS (EFIAPI *EFI_CONSOLE_CONTROL_PROTOCOL_SET_MODE)( IN EFI_CONSOLE_CONTROL_PROTOCOL *This, OUT EFI_CONSOLE_CONTROL_SCREEN_MODE Mode - ) -; + ); /** Copy the Password and enable state variable and then arm the periodic timer @@ -84,8 +82,7 @@ EFI_STATUS (EFIAPI *EFI_CONSOLE_CONTROL_PROTOCOL_LOCK_STD_IN)( IN EFI_CONSOLE_CONTROL_PROTOCOL *This, IN CHAR16 *Password - ) -; + ); struct _EFI_CONSOLE_CONTROL_PROTOCOL { EFI_CONSOLE_CONTROL_PROTOCOL_GET_MODE GetMode; diff --git a/MdeModulePkg/Include/Protocol/DiskInfo.h b/MdeModulePkg/Include/Protocol/DiskInfo.h index 1f45b3a286..98ecd7695e 100644 --- a/MdeModulePkg/Include/Protocol/DiskInfo.h +++ b/MdeModulePkg/Include/Protocol/DiskInfo.h @@ -47,8 +47,7 @@ EFI_STATUS IN EFI_DISK_INFO_PROTOCOL * This, IN OUT VOID *InquiryData, IN OUT UINT32 *IntquiryDataSize - ) -; + ); /** @@ -71,8 +70,7 @@ EFI_STATUS IN EFI_DISK_INFO_PROTOCOL * This, IN OUT VOID *IdentifyData, IN OUT UINT32 *IdentifyDataSize - ) -; + ); /** @@ -97,8 +95,7 @@ EFI_STATUS IN OUT VOID *SenseData, IN OUT UINT32 *SenseDataSize, OUT UINT8 *SenseDataNumber - ) -; + ); /** Return the results of the Request Sense command to a drive in SenseData. @@ -118,8 +115,7 @@ EFI_STATUS IN EFI_DISK_INFO_PROTOCOL * This, OUT UINT32 *IdeChannel, OUT UINT32 *IdeDevice - ) -; + ); // // GUIDs for EFI_DISK_INFO_PROTOCOL.Interface. Defines the format of the diff --git a/MdeModulePkg/Include/Protocol/FaultTolerantWriteLite.h b/MdeModulePkg/Include/Protocol/FaultTolerantWriteLite.h index ce0128df10..4a0e495267 100644 --- a/MdeModulePkg/Include/Protocol/FaultTolerantWriteLite.h +++ b/MdeModulePkg/Include/Protocol/FaultTolerantWriteLite.h @@ -60,8 +60,7 @@ EFI_STATUS IN UINTN Offset, IN UINTN *NumBytes, IN VOID *Buffer - ) -; + ); // // Protocol declaration diff --git a/MdeModulePkg/Include/Protocol/GenericMemoryTest.h b/MdeModulePkg/Include/Protocol/GenericMemoryTest.h index 87959ed73a..57ef1493b4 100644 --- a/MdeModulePkg/Include/Protocol/GenericMemoryTest.h +++ b/MdeModulePkg/Include/Protocol/GenericMemoryTest.h @@ -49,8 +49,7 @@ EFI_STATUS IN EFI_GENERIC_MEMORY_TEST_PROTOCOL *This, IN EXTENDMEM_COVERAGE_LEVEL Level, OUT BOOLEAN *RequireSoftECCInit - ) -; + ); /** @@ -81,8 +80,7 @@ EFI_STATUS OUT UINT64 *TotalMemorySize, OUT BOOLEAN *ErrorOut, IN BOOLEAN IfTestAbort - ) -; + ); /** @@ -99,8 +97,7 @@ typedef EFI_STATUS (EFIAPI *EFI_MEMORY_TEST_FINISHED)( IN EFI_GENERIC_MEMORY_TEST_PROTOCOL *This - ) -; + ); /** Provide capability to test compatible range which used by some sepcial @@ -120,8 +117,7 @@ EFI_STATUS IN EFI_GENERIC_MEMORY_TEST_PROTOCOL *This, IN EFI_PHYSICAL_ADDRESS StartAddress, IN UINT64 Length - ) -; + ); struct _EFI_GENERIC_MEMORY_TEST_PROTOCOL { EFI_MEMORY_TEST_INIT MemoryTestInit; -- cgit v1.2.3