From 366f81a016c11a59669cdfb5adb714e6f036f65f Mon Sep 17 00:00:00 2001 From: jcarsey Date: Mon, 27 Jun 2011 21:04:22 +0000 Subject: Clarify that the shared variables of the shell protocols are properly named. This removes the non-shared gEfiShellProtocol and gEfiShellParametersProtocol and renames the shared version to those names. This removes the m-versions of those protocol pointers. signed-off-by: jcarsey reviewed-by: darylm503 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11900 6f19259b-4bc3-4df7-8a09-765794883524 --- ShellPkg/Include/Library/ShellCommandLib.h | 2 -- ShellPkg/Include/Library/ShellLib.h | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'ShellPkg/Include') diff --git a/ShellPkg/Include/Library/ShellCommandLib.h b/ShellPkg/Include/Library/ShellCommandLib.h index 6edd36676b..027c0caad5 100644 --- a/ShellPkg/Include/Library/ShellCommandLib.h +++ b/ShellPkg/Include/Library/ShellCommandLib.h @@ -32,8 +32,6 @@ // // The extern global protocol poionters. // -extern EFI_SHELL_PROTOCOL *gEfiShellProtocol; -extern EFI_SHELL_PARAMETERS_PROTOCOL *gEfiShellParametersProtocol; extern EFI_UNICODE_COLLATION_PROTOCOL *gUnicodeCollation; extern EFI_DEVICE_PATH_TO_TEXT_PROTOCOL *gDevPathToText; extern CONST CHAR16* SupportLevel[]; diff --git a/ShellPkg/Include/Library/ShellLib.h b/ShellPkg/Include/Library/ShellLib.h index 12cae5afeb..905a9d39ef 100644 --- a/ShellPkg/Include/Library/ShellLib.h +++ b/ShellPkg/Include/Library/ShellLib.h @@ -27,8 +27,8 @@ // (20 * (6+5+2))+1) unicode characters from EFI FAT spec (doubled for bytes) #define MAX_FILE_NAME_LEN 512 -extern EFI_SHELL_PARAMETERS_PROTOCOL *mEfiShellParametersProtocol; -extern EFI_SHELL_PROTOCOL *mEfiShellProtocol; +extern EFI_SHELL_PARAMETERS_PROTOCOL *gEfiShellParametersProtocol; +extern EFI_SHELL_PROTOCOL *gEfiShellProtocol; /** This function will retrieve the information about the file for the handle -- cgit v1.2.3