From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by ml01.01.org (Postfix) with ESMTP id 4F4401A1E2F for ; Tue, 2 Aug 2016 23:48:59 -0700 (PDT) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga102.jf.intel.com with ESMTP; 02 Aug 2016 23:48:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,464,1464678000"; d="scan'208";a="743484615" Received: from xiahui-mobl.ccr.corp.intel.com (HELO JSHI19-MOBL2.ccr.corp.intel.com) ([10.255.25.75]) by FMSMGA003.fm.intel.com with ESMTP; 02 Aug 2016 23:48:57 -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, Steven Shi Date: Wed, 3 Aug 2016 14:48:23 +0800 Message-Id: <1470206903-18256-5-git-send-email-steven.shi@intel.com> X-Mailer: git-send-email 2.8.1.windows.1 In-Reply-To: <1470206903-18256-1-git-send-email-steven.shi@intel.com> References: <1470206903-18256-1-git-send-email-steven.shi@intel.com> Subject: [PATCH 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 06:48:59 -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