diff options
author | jji4 <jji4@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-10-30 06:14:35 +0000 |
---|---|---|
committer | jji4 <jji4@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-10-30 06:14:35 +0000 |
commit | 7492c63d423201cbabc00c343cc25269bb1254c1 (patch) | |
tree | d93889cc23d790f1d14cf66da4a898125be7c39d /UnixPkg/UnixBlockIoDxe | |
parent | ba31c2e08e5c3925b4c21b454ee7ee2c7366657c (diff) | |
download | edk2-platforms-7492c63d423201cbabc00c343cc25269bb1254c1.tar.xz |
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
Diffstat (limited to 'UnixPkg/UnixBlockIoDxe')
-rw-r--r-- | UnixPkg/UnixBlockIoDxe/ComponentName.c | 2 | ||||
-rw-r--r-- | UnixPkg/UnixBlockIoDxe/UnixBlockIo.c | 18 |
2 files changed, 1 insertions, 19 deletions
diff --git a/UnixPkg/UnixBlockIoDxe/ComponentName.c b/UnixPkg/UnixBlockIoDxe/ComponentName.c index 19085fd88a..71ceb62cb8 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 d92ab7251c..a483a876dc 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 (
|