]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ShellPkg/ShellCommandLib: Add missing EFIAPI for public library APIs
authorRuiyu Ni <ruiyu.ni@intel.com>
Thu, 10 Nov 2016 06:58:20 +0000 (14:58 +0800)
committerRuiyu Ni <ruiyu.ni@intel.com>
Fri, 11 Nov 2016 02:59:39 +0000 (10:59 +0800)
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>
ShellPkg/Include/Library/ShellCommandLib.h
ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.c

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