diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/Compress.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/Compress.c index 736d2a35b3..cde2c54f1b 100644 --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/Compress.c +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/Compress.c @@ -23,6 +23,8 @@ #include #include +#include "Compress.h" + // // Macro Definitions // @@ -1307,20 +1309,20 @@ Encode ( The compression routine. @param[in] SrcBuffer The buffer containing the source data. - @param[in] SrcSize The number of bytes in SrcBuffer. + @param[in] SrcSize Number of bytes in SrcBuffer. @param[in] DstBuffer The buffer to put the compressed image in. @param[in, out] DstSize On input the size (in bytes) of DstBuffer, on - return the number of bytes placed in DstBuffer. + return the number of bytes placed in DstBuffer. @retval EFI_SUCCESS The compression was sucessful. @retval EFI_BUFFER_TOO_SMALL The buffer was too small. DstSize is required. **/ EFI_STATUS Compress ( - IN VOID *SrcBuffer, - IN UINT64 SrcSize, - IN VOID *DstBuffer, - IN OUT UINT64 *DstSize + IN VOID *SrcBuffer, + IN UINT64 SrcSize, + IN VOID *DstBuffer, + IN OUT UINT64 *DstSize ) { EFI_STATUS Status; diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/Compress.h b/ShellPkg/Library/UefiShellDebug1CommandsLib/Compress.h index 39a997178f..7fe844e212 100644 --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/Compress.h +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/Compress.h @@ -28,7 +28,6 @@ @retval EFI_BUFFER_TOO_SMALL The buffer was too small. DstSize is required. **/ EFI_STATUS -EFIAPI Compress ( IN VOID *SrcBuffer, IN UINT64 SrcSize,