]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.h
ShellPkg/Dp: Add null pointer check
[mirror_edk2.git] / ShellPkg / Library / UefiShellLevel1CommandsLib / UefiShellLevel1CommandsLib.h
index e8439e7a8bcd95c88e81f335455a03ffa312876f..04892a6f013eb00d1bd36f1b74bbba0236425fbb 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Main file for NULL named library for level 1 shell command functions.\r
 \r
-  Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.<BR>\r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
 #define _UEFI_SHELL_LEVEL1_COMMANDS_LIB_H_\r
 \r
 #include <Uefi.h>\r
-#include <ShellBase.h>\r
 \r
-#include <Protocol/EfiShell.h>\r
-#include <Protocol/EfiShellParameters.h>\r
+#include <Guid/ShellLibHiiGuid.h>\r
+\r
+#include <Protocol/Shell.h>\r
+#include <Protocol/ShellParameters.h>\r
 #include <Protocol/DevicePath.h>\r
 #include <Protocol/LoadedImage.h>\r
 #include <Protocol/UnicodeCollation.h>\r
-#include <Protocol/DevicePathToText.h>\r
 \r
 #include <Library/BaseLib.h>\r
 #include <Library/BaseMemoryLib.h>\r
@@ -40,7 +40,6 @@
 #include <Library/FileHandleLib.h>\r
 \r
 extern        EFI_HANDLE                        gShellLevel1HiiHandle;\r
-extern CONST  EFI_GUID                          gShellLevel1HiiGuid;\r
 \r
 /**\r
   Function for 'stall' command.\r
@@ -195,7 +194,6 @@ LIST_ENTRY *
                                searching.\r
 **/\r
 BOOLEAN\r
-EFIAPI\r
 MoveToTag (\r
   IN CONST LIST_MANIP_FUNC      Function,\r
   IN CONST CHAR16               *DecrementerTag,\r