diff options
author | Ruiyu Ni <ruiyu.ni@intel.com> | 2016-11-10 14:58:20 +0800 |
---|---|---|
committer | Ruiyu Ni <ruiyu.ni@intel.com> | 2016-11-11 10:59:39 +0800 |
commit | 667d7146501af0de63e0b28cd00dd1a5125540ad (patch) | |
tree | 993b915cf8ffd5917fbba2ffe1194343ca038229 | |
parent | c52f00d6e1e14b9eaf5c5a58501f075d2a64920c (diff) | |
download | edk2-platforms-667d7146501af0de63e0b28cd00dd1a5125540ad.tar.xz |
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>
-rw-r--r-- | ShellPkg/Include/Library/ShellCommandLib.h | 2 | ||||
-rw-r--r-- | ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.c | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/ShellPkg/Include/Library/ShellCommandLib.h b/ShellPkg/Include/Library/ShellCommandLib.h index 08de1332c7..e9a2c0365d 100644 --- a/ShellPkg/Include/Library/ShellCommandLib.h +++ b/ShellPkg/Include/Library/ShellCommandLib.h @@ -694,6 +694,7 @@ FreeBufferList ( @param[in] UserData Pointer to some data.
**/
VOID
+EFIAPI
DumpHex (
IN UINTN Indent,
IN UINTN Offset,
@@ -711,6 +712,7 @@ DumpHex ( @param[in] UserData The data to print out.
**/
CHAR16*
+EFIAPI
CatSDumpHex (
IN CHAR16 *Buffer,
IN UINTN Indent,
diff --git a/ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.c b/ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.c index 139176816a..a2ebc8f820 100644 --- a/ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.c +++ b/ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.c @@ -1,7 +1,7 @@ /** @file
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 2016 Hewlett Packard Enterprise Development LP<BR>
@@ -1715,6 +1715,7 @@ FreeBufferList ( @param[in] UserData The data to print out.
**/
VOID
+EFIAPI
DumpHex (
IN UINTN Indent,
IN UINTN Offset,
@@ -1767,6 +1768,7 @@ DumpHex ( @param[in] UserData The data to print out.
**/
CHAR16*
+EFIAPI
CatSDumpHex (
IN CHAR16 *Buffer,
IN UINTN Indent,
|