From 7492c63d423201cbabc00c343cc25269bb1254c1 Mon Sep 17 00:00:00 2001 From: jji4 Date: Thu, 30 Oct 2008 06:14:35 +0000 Subject: Patch to remove STATIC modifier. This is on longer recommended by EFI Framework coding style. All duplicated symbols has been renamed accordingly. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6301 6f19259b-4bc3-4df7-8a09-765794883524 --- UnixPkg/UnixBlockIoDxe/ComponentName.c | 2 +- UnixPkg/UnixBlockIoDxe/UnixBlockIo.c | 18 ------------------ 2 files changed, 1 insertion(+), 19 deletions(-) (limited to 'UnixPkg/UnixBlockIoDxe') diff --git a/UnixPkg/UnixBlockIoDxe/ComponentName.c b/UnixPkg/UnixBlockIoDxe/ComponentName.c index 19085fd..71ceb62 100644 --- a/UnixPkg/UnixBlockIoDxe/ComponentName.c +++ b/UnixPkg/UnixBlockIoDxe/ComponentName.c @@ -49,7 +49,7 @@ EFI_COMPONENT_NAME_PROTOCOL gUnixBlockIoComponentName = { "eng" }; -static EFI_UNICODE_STRING_TABLE mUnixBlockIoDriverNameTable[] = { +EFI_UNICODE_STRING_TABLE mUnixBlockIoDriverNameTable[] = { { "eng", L"Unix Block I/O Driver" }, { NULL , NULL } }; diff --git a/UnixPkg/UnixBlockIoDxe/UnixBlockIo.c b/UnixPkg/UnixBlockIoDxe/UnixBlockIo.c index d92ab72..a483a87 100644 --- a/UnixPkg/UnixBlockIoDxe/UnixBlockIo.c +++ b/UnixPkg/UnixBlockIoDxe/UnixBlockIo.c @@ -67,7 +67,6 @@ Abstract: // // Block IO protocol member functions // -STATIC EFI_STATUS EFIAPI UnixBlockIoReadBlocks ( @@ -98,7 +97,6 @@ Returns: --*/ ; -STATIC EFI_STATUS EFIAPI UnixBlockIoWriteBlocks ( @@ -129,7 +127,6 @@ Returns: --*/ ; -STATIC EFI_STATUS EFIAPI UnixBlockIoFlushBlocks ( @@ -152,7 +149,6 @@ Returns: --*/ ; -STATIC EFI_STATUS EFIAPI UnixBlockIoResetBlock ( @@ -180,7 +176,6 @@ Returns: // // Private Worker functions // -STATIC EFI_STATUS UnixBlockIoCreateMapping ( IN EFI_UNIX_IO_PROTOCOL *UnixIo, @@ -215,7 +210,6 @@ Returns: --*/ ; -STATIC EFI_STATUS UnixBlockIoReadWriteCommon ( IN UNIX_BLOCK_IO_PRIVATE *Private, @@ -247,7 +241,6 @@ Returns: --*/ ; -STATIC EFI_STATUS UnixBlockIoError ( IN UNIX_BLOCK_IO_PRIVATE *Private @@ -269,7 +262,6 @@ Returns: --*/ ; -STATIC EFI_STATUS UnixBlockIoOpenDevice ( UNIX_BLOCK_IO_PRIVATE *Private @@ -291,7 +283,6 @@ Returns: --*/ ; -STATIC CHAR16 * GetNextElementPastTerminator ( IN CHAR16 *EnvironmentVariable, @@ -596,7 +587,6 @@ Returns: return Status; } -STATIC CHAR16 * GetNextElementPastTerminator ( IN CHAR16 *EnvironmentVariable, @@ -632,7 +622,6 @@ Returns: return Ptr; } -STATIC EFI_STATUS UnixBlockIoCreateMapping ( IN EFI_UNIX_IO_PROTOCOL *UnixIo, @@ -747,7 +736,6 @@ Returns: return Status; } -STATIC EFI_STATUS UnixBlockIoOpenDevice ( UNIX_BLOCK_IO_PRIVATE *Private @@ -855,7 +843,6 @@ Done: return Status; } -STATIC EFI_STATUS UnixBlockIoError ( IN UNIX_BLOCK_IO_PRIVATE *Private @@ -930,7 +917,6 @@ Returns: #endif } -STATIC EFI_STATUS UnixBlockIoReadWriteCommon ( IN UNIX_BLOCK_IO_PRIVATE *Private, @@ -1026,7 +1012,6 @@ Returns: return EFI_SUCCESS; } -STATIC EFI_STATUS EFIAPI UnixBlockIoReadBlocks ( @@ -1092,7 +1077,6 @@ Done: return Status; } -STATIC EFI_STATUS EFIAPI UnixBlockIoWriteBlocks ( @@ -1160,7 +1144,6 @@ Done: return Status; } -STATIC EFI_STATUS EFIAPI UnixBlockIoFlushBlocks ( @@ -1184,7 +1167,6 @@ UnixBlockIoFlushBlocks ( return EFI_SUCCESS; } -STATIC EFI_STATUS EFIAPI UnixBlockIoResetBlock ( -- cgit v1.1