summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQiu Shumin <shumin.qiu@intel.com>2014-08-29 01:30:43 +0000
committershenshushi <shenshushi@6f19259b-4bc3-4df7-8a09-765794883524>2014-08-29 01:30:43 +0000
commitde4caceb8b22426e6a8d9e364f63e298cffb4e63 (patch)
treece2aa3019c7690b08023a66339d492f019336a59
parent41921ad5c35c098a8ba54f8ffde9fa58dfb000f1 (diff)
downloadedk2-platforms-de4caceb8b22426e6a8d9e364f63e298cffb4e63.tar.xz
ShellPkg: Remove 'STATIC' from function declarations to avoid source level debugging problem.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Qiu Shumin <shumin.qiu@intel.com> Reviewed-by: : Jaben Carsey <Jaben.carsey@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15975 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--ShellPkg/Application/Shell/ShellParametersProtocol.c1
-rw-r--r--ShellPkg/Application/Shell/ShellProtocol.c2
-rw-r--r--ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c1
-rw-r--r--ShellPkg/Library/UefiShellLevel3CommandsLib/Help.c1
4 files changed, 1 insertions, 4 deletions
diff --git a/ShellPkg/Application/Shell/ShellParametersProtocol.c b/ShellPkg/Application/Shell/ShellParametersProtocol.c
index 75704b4ae0..e052d24d5d 100644
--- a/ShellPkg/Application/Shell/ShellParametersProtocol.c
+++ b/ShellPkg/Application/Shell/ShellParametersProtocol.c
@@ -609,7 +609,6 @@ RemoveFileTag(
@return Status code from ShellInfoObject.NewEfiShellProtocol->WriteFile.
**/
-STATIC
EFI_STATUS
WriteFileTag (
IN SHELL_FILE_HANDLE FileHandle
diff --git a/ShellPkg/Application/Shell/ShellProtocol.c b/ShellPkg/Application/Shell/ShellProtocol.c
index fb94a5b45e..9b7b893fe3 100644
--- a/ShellPkg/Application/Shell/ShellProtocol.c
+++ b/ShellPkg/Application/Shell/ShellProtocol.c
@@ -3187,7 +3187,7 @@ InternalEfiShellGetListAlias(
@return The null-terminated string converted into all lowercase.
**/
-STATIC CHAR16 *
+CHAR16 *
ToLower (
CHAR16 *Str
)
diff --git a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c
index acc8a29796..b4cf682ad8 100644
--- a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c
+++ b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c
@@ -847,7 +847,6 @@ Function to add a new GUID/Name mapping.
@retval EFI_OUT_OF_RESOURCES A memory allocation failed
@retval EFI_INVALID_PARAMETER Guid NameId was invalid
**/
-STATIC
EFI_STATUS
EFIAPI
InsertNewGuidNameMapping(
diff --git a/ShellPkg/Library/UefiShellLevel3CommandsLib/Help.c b/ShellPkg/Library/UefiShellLevel3CommandsLib/Help.c
index e0e15dbc3d..0b596ceae4 100644
--- a/ShellPkg/Library/UefiShellLevel3CommandsLib/Help.c
+++ b/ShellPkg/Library/UefiShellLevel3CommandsLib/Help.c
@@ -27,7 +27,6 @@
@retval EFI_SUCCESS The help was displayed
@retval FI_NOT_FOUND The command name could not be found
**/
-STATIC
EFI_STATUS
EFIAPI
PrintDynamicCommandHelp(