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/UefiShellInstall1CommandsLib | |
parent | eca218a7cee77c255ee5992590e8e4bb1c20a662 (diff) | |
download | edk2-platforms-bca163ff11c38b5495f9b71f5dd3638e510f1890.tar.xz |
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/UefiShellInstall1CommandsLib')
3 files changed, 5 insertions, 6 deletions
diff --git a/ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.c b/ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.c index 28a9a9c326..b7f0878b73 100644 --- a/ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.c +++ b/ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.c @@ -16,10 +16,6 @@ STATIC CONST CHAR16 mFileName[] = L"ShellCommands";
EFI_HANDLE gShellInstall1HiiHandle = NULL;
-CONST EFI_GUID gShellInstall1HiiGuid = \
- { \
- 0x7d574d54, 0xd364, 0x4d4a, { 0x95, 0xe3, 0x49, 0x45, 0xdb, 0x7a, 0xd3, 0xee } \
- };
/**
Function to get the filename with help context if HII will not be used.
diff --git a/ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.h b/ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.h index 48dcd4c2fc..09207c0698 100644 --- a/ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.h +++ b/ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.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 gShellInstall1HiiHandle;
-extern CONST EFI_GUID gShellInstall1HiiGuid;
/**
Function for 'bcfg' command.
diff --git a/ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf b/ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf index 5c7fb4eb03..5188a00384 100644 --- a/ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf +++ b/ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf @@ -1,7 +1,7 @@ ## @file
# Provides shell install1 functions
#
-# Copyright (c) 2010, Intel Corporation. All rights reserved. <BR>
+# Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved. <BR>
#
# This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
@@ -49,3 +49,5 @@ [Pcd]
gEfiShellPkgTokenSpaceGuid.PcdShellProfileMask # ALWAYS_CONSUMED
+[Guids]
+ gShellInstall1HiiGuid
|