From af90df3cb099ed8e009579b7b55e7142dc0fc410 Mon Sep 17 00:00:00 2001 From: "Shi, Steven" Date: Wed, 3 Aug 2016 17:43:06 +0800 Subject: [PATCH] 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 Reviewed-by: Jaben Carsey --- ShellPkg/Library/UefiShellCommandLib/ConsistMapping.c | 1 + 1 file changed, 1 insertion(+) mode change 100644 => 100755 ShellPkg/Library/UefiShellCommandLib/ConsistMapping.c diff --git a/ShellPkg/Library/UefiShellCommandLib/ConsistMapping.c b/ShellPkg/Library/UefiShellCommandLib/ConsistMapping.c old mode 100644 new mode 100755 index d157ebbb2a..979693a250 --- 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,