From: Dandan Bi Date: Tue, 22 Mar 2016 07:37:54 +0000 (+0800) Subject: MdeModulePkg/FileExplorerLib.h: Remove the redefinition of typedefs X-Git-Tag: edk2-stable201903~7551 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=9e41f686fc20304086db387563089e42cf3189d5 MdeModulePkg/FileExplorerLib.h: Remove the redefinition of typedefs Xcode clang seems unhappy with both FileExplorerLib.h and Protocol/FileExplorer.h both defining CHOOSE_HANDLER, now remove the definition in FileExplorerLib.h. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Andrew Fish Reviewed-by: Eric Dong --- diff --git a/MdeModulePkg/Include/Library/FileExplorerLib.h b/MdeModulePkg/Include/Library/FileExplorerLib.h index afb0dc811a..2ae8ec6106 100644 --- a/MdeModulePkg/Include/Library/FileExplorerLib.h +++ b/MdeModulePkg/Include/Library/FileExplorerLib.h @@ -16,20 +16,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #ifndef __FILE_EXPLORER_LIB_H__ #define __FILE_EXPLORER_LIB_H__ -/** - Prototype for the next process after user chosed one file. - - @param[in] FilePath The device path of the find file. - - @retval TRUE Need exit file explorer after do the extra task. - @retval FALSE Not need to exit file explorer after do the extra task. - -**/ -typedef -BOOLEAN -(EFIAPI *CHOOSE_HANDLER)( - IN EFI_DEVICE_PATH_PROTOCOL *FilePath - ); +#include /** Choose a file in the specified directory.