From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by ml01.01.org (Postfix) with ESMTP id EE9CF1A1E26 for ; Wed, 3 Aug 2016 02:44:02 -0700 (PDT) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga103.fm.intel.com with ESMTP; 03 Aug 2016 02:44:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,465,1464678000"; d="scan'208";a="858881855" Received: from xiahui-mobl.ccr.corp.intel.com (HELO JSHI19-MOBL2.ccr.corp.intel.com) ([10.255.25.75]) by orsmga003.jf.intel.com with ESMTP; 03 Aug 2016 02:44:01 -0700 From: "Shi, Steven" To: edk2-devel@lists.01.org, liming.gao@intel.com, jaben.carsey@intel.com Cc: afish@apple.com, michael.d.kinney@intel.com, ard.biesheuvel@linaro.org, Steven Shi Date: Wed, 3 Aug 2016 17:43:06 +0800 Message-Id: <1470217386-20676-5-git-send-email-steven.shi@intel.com> X-Mailer: git-send-email 2.8.1.windows.1 In-Reply-To: <1470217386-20676-1-git-send-email-steven.shi@intel.com> References: <1470217386-20676-1-git-send-email-steven.shi@intel.com> Subject: [PATCH v5 4/4] ShellPkg-UefiShellCommandLib: Add EFIAPI in VA_List library function X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Aug 2016 09:44:03 -0000 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 --- 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 d157ebb..979693a --- 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, -- 2.7.4