From bca163ff11c38b5495f9b71f5dd3638e510f1890 Mon Sep 17 00:00:00 2001 From: lgao4 Date: Wed, 21 Sep 2011 01:56:00 +0000 Subject: 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 --- .../UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.c | 4 ---- .../UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.h | 3 ++- .../UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf | 4 +++- 3 files changed, 5 insertions(+), 6 deletions(-) (limited to 'ShellPkg/Library/UefiShellInstall1CommandsLib') 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 #include +#include + #include #include #include @@ -40,7 +42,6 @@ #include 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.
+# Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved.
# # 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 -- cgit v1.2.3