ShellPkg/ShellCommandLib: Add missing EFIAPI for public library APIs

DumpHex() and CatSDumpHex() are public library APIs but don't have
EFIAPI modifier. Add the missing EFIAPI.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
This commit is contained in:
Ruiyu Ni 2016-11-10 14:58:20 +08:00
parent c52f00d6e1
commit 667d714650
2 changed files with 5 additions and 1 deletions

View File

@ -694,6 +694,7 @@ FreeBufferList (
@param[in] UserData Pointer to some data. @param[in] UserData Pointer to some data.
**/ **/
VOID VOID
EFIAPI
DumpHex ( DumpHex (
IN UINTN Indent, IN UINTN Indent,
IN UINTN Offset, IN UINTN Offset,
@ -711,6 +712,7 @@ DumpHex (
@param[in] UserData The data to print out. @param[in] UserData The data to print out.
**/ **/
CHAR16* CHAR16*
EFIAPI
CatSDumpHex ( CatSDumpHex (
IN CHAR16 *Buffer, IN CHAR16 *Buffer,
IN UINTN Indent, IN UINTN Indent,

View File

@ -1,7 +1,7 @@
/** @file /** @file
Provides interface to shell internal functions for shell commands. Provides interface to shell internal functions for shell commands.
Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR> Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.<BR>
(C) Copyright 2013-2015 Hewlett-Packard Development Company, L.P.<BR> (C) Copyright 2013-2015 Hewlett-Packard Development Company, L.P.<BR>
(C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR> (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
@ -1715,6 +1715,7 @@ FreeBufferList (
@param[in] UserData The data to print out. @param[in] UserData The data to print out.
**/ **/
VOID VOID
EFIAPI
DumpHex ( DumpHex (
IN UINTN Indent, IN UINTN Indent,
IN UINTN Offset, IN UINTN Offset,
@ -1767,6 +1768,7 @@ DumpHex (
@param[in] UserData The data to print out. @param[in] UserData The data to print out.
**/ **/
CHAR16* CHAR16*
EFIAPI
CatSDumpHex ( CatSDumpHex (
IN CHAR16 *Buffer, IN CHAR16 *Buffer,
IN UINTN Indent, IN UINTN Indent,