From de4caceb8b22426e6a8d9e364f63e298cffb4e63 Mon Sep 17 00:00:00 2001 From: Qiu Shumin Date: Fri, 29 Aug 2014 01:30:43 +0000 Subject: [PATCH] ShellPkg: Remove 'STATIC' from function declarations to avoid source level debugging problem. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Qiu Shumin Reviewed-by: : Jaben Carsey git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15975 6f19259b-4bc3-4df7-8a09-765794883524 --- ShellPkg/Application/Shell/ShellParametersProtocol.c | 1 - ShellPkg/Application/Shell/ShellProtocol.c | 2 +- ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c | 1 - ShellPkg/Library/UefiShellLevel3CommandsLib/Help.c | 1 - 4 files changed, 1 insertion(+), 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(