ShellPkg: stop taking EFI_HANDLE in place of SHELL_FILE_HANDLE

The TouchFileByHandle() and IsDirectoryEmpty() functions are passed
SHELL_FILE_HANDLE parameters, and they use those parameters correctly.
However, their parameter lists say EFI_HANDLE.

Spell out the right type in the parameter lists.

In practice, this change is a no-op (because, quite regrettably, both
EFI_HANDLE and SHELL_FILE_HANDLE are specified to be typedefs of (VOID*)).

Cc: Jaben Carsey <jaben.carsey@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Zhichao Gao <zhichao.gao@intel.com>
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
Reviewed-by: Zhichao Gao <zhichao.gao@intel.com>
This commit is contained in:
Laszlo Ersek 2019-09-06 23:40:37 +02:00
parent c44501b313
commit 1b3115baad
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ STATIC CONST SHELL_PARAM_ITEM ParamList[] = {
**/
BOOLEAN
IsDirectoryEmpty (
IN EFI_HANDLE FileHandle
IN SHELL_FILE_HANDLE FileHandle
)
{
EFI_STATUS Status;

View File

@ -21,7 +21,7 @@
**/
EFI_STATUS
TouchFileByHandle (
IN EFI_HANDLE Handle
IN SHELL_FILE_HANDLE Handle
)
{
EFI_STATUS Status;