summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShi, Steven <steven.shi@intel.com>2016-08-03 17:43:06 +0800
committerLiming Gao <liming.gao@intel.com>2016-08-10 12:56:53 +0800
commitaf90df3cb099ed8e009579b7b55e7142dc0fc410 (patch)
tree476c47550489347261646d8712fd3f7373db2c68
parentba601bddf8a36b4b63704596842c69b412741bbb (diff)
downloadedk2-platforms-af90df3cb099ed8e009579b7b55e7142dc0fc410.tar.xz
ShellPkg-UefiShellCommandLib: Add EFIAPI in VA_List library function
Add EFIAPI in CatPrint library function. Every function which uses variable list need explicit use EFIAPI to force use MS ABI. This change is needed to pass CLANG38 build. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Steven Shi <steven.shi@intel.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
-rwxr-xr-x[-rw-r--r--]ShellPkg/Library/UefiShellCommandLib/ConsistMapping.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ShellPkg/Library/UefiShellCommandLib/ConsistMapping.c b/ShellPkg/Library/UefiShellCommandLib/ConsistMapping.c
index d157ebbb2a..979693a250 100644..100755
--- a/ShellPkg/Library/UefiShellCommandLib/ConsistMapping.c
+++ b/ShellPkg/Library/UefiShellCommandLib/ConsistMapping.c
@@ -85,6 +85,7 @@ typedef struct {
**/
EFI_STATUS
+EFIAPI
CatPrint (
IN OUT POOL_PRINT *Str,
IN CHAR16 *Fmt,