diff options
author | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-09-21 01:56:00 +0000 |
---|---|---|
committer | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-09-21 01:56:00 +0000 |
commit | bca163ff11c38b5495f9b71f5dd3638e510f1890 (patch) | |
tree | 501aa4ed976fa386e00b2ee8b3d9959daab463a2 /ShellPkg/Library/UefiShellLevel1CommandsLib | |
parent | eca218a7cee77c255ee5992590e8e4bb1c20a662 (diff) | |
download | edk2-bca163ff11c38b5495f9b71f5dd3638e510f1890.zip edk2-bca163ff11c38b5495f9b71f5dd3638e510f1890.tar.gz edk2-bca163ff11c38b5495f9b71f5dd3638e510f1890.tar.bz2 |
Clean up the private GUID definition in module Level.
Signed-off-by: lgao4
Reviewed-by: jcarsey
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12394 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ShellPkg/Library/UefiShellLevel1CommandsLib')
3 files changed, 5 insertions, 6 deletions
diff --git a/ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.c b/ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.c index 7fc8690..a9dd6cc 100644 --- a/ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.c +++ b/ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.c @@ -16,11 +16,6 @@ STATIC CONST CHAR16 mFileName[] = L"ShellCommands";
EFI_HANDLE gShellLevel1HiiHandle = NULL;
-CONST EFI_GUID gShellLevel1HiiGuid = \
- { \
- 0xdec5daa4, 0x6781, 0x4820, { 0x9c, 0x63, 0xa7, 0xb0, 0xe4, 0xf1, 0xdb, 0x31 }
- };
-
/**
Return the help text filename. Only used if no HII information found.
diff --git a/ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.h b/ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.h index e8439e7..b0ef503 100644 --- a/ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.h +++ b/ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.h @@ -18,6 +18,8 @@ #include <Uefi.h>
#include <ShellBase.h>
+#include <Guid/ShellLibHiiGuid.h>
+
#include <Protocol/EfiShell.h>
#include <Protocol/EfiShellParameters.h>
#include <Protocol/DevicePath.h>
@@ -40,7 +42,6 @@ #include <Library/FileHandleLib.h>
extern EFI_HANDLE gShellLevel1HiiHandle;
-extern CONST EFI_GUID gShellLevel1HiiGuid;
/**
Function for 'stall' command.
diff --git a/ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf b/ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf index 3a62cc3..02b1627 100644 --- a/ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf +++ b/ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf @@ -54,3 +54,6 @@ [Pcd.common]
gEfiShellPkgTokenSpaceGuid.PcdShellSupportLevel # ALWAYS_CONSUMED
+
+[Guids]
+ gShellLevel1HiiGuid
|