]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ShellPkg/Application/Shell/Shell.h
ShellPkg: Fix Shell fail with redundant space following delay number.
[mirror_edk2.git] / ShellPkg / Application / Shell / Shell.h
index 4d804fc45bb3add38c2d60e960be26f677434602..b6686256aac3aa49cdebff06b54c13e078ce2446 100644 (file)
@@ -360,5 +360,16 @@ FindFirstCharacter(
   IN CONST CHAR16 EscapeCharacter\r
   );\r
 \r
+/**\r
+  Cleans off leading and trailing spaces and tabs.\r
+\r
+  @param[in] String pointer to the string to trim them off.\r
+**/\r
+EFI_STATUS\r
+EFIAPI\r
+TrimSpaces(\r
+  IN CHAR16 **String\r
+  );\r
+\r
 #endif //_SHELL_INTERNAL_HEADER_\r
 \r