From nobody Mon Apr 29 12:45:52 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1509000830825269.6170838133809; Wed, 25 Oct 2017 23:53:50 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id C27B12034CF8E; Wed, 25 Oct 2017 23:50:03 -0700 (PDT) Received: from smtp.nue.novell.com (smtp.nue.novell.com [195.135.221.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id C47532034CF8C for ; Wed, 25 Oct 2017 23:50:01 -0700 (PDT) Received: from localhost.localdomain (unknown.telstraglobal.net [134.159.103.118]) by smtp.nue.novell.com with ESMTP (NOT encrypted); Thu, 26 Oct 2017 08:53:43 +0200 X-Original-To: edk2-devel@lists.01.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=195.135.221.5; helo=smtp.nue.novell.com; envelope-from=glin@suse.com; receiver=edk2-devel@lists.01.org From: Gary Lin To: edk2-devel@lists.01.org Date: Thu, 26 Oct 2017 14:53:29 +0800 Message-Id: <20171026065329.32311-1-glin@suse.com> X-Mailer: git-send-email 2.14.2 MIME-Version: 1.0 Subject: [edk2] [PATCH] ShellPkg/UefiShellDebug1CommandsLib: Remove EFIAPI from Compress() X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jaben Carsey , Ruiyu Ni Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail: RSF_4 Z_629925259 SPT_0 > ShellPkg/Library/UefiShellDebug1CommandsLib/Compress.h:32:1: warning: typ= e of =E2=80=98Compress=E2=80=99 does not match original declaration > [-Wlto-type-mismatch] > Compress ( > ^ > ShellPkg/Library/UefiShellDebug1CommandsLib/Compress.c:1319:1: note: =E2= =80=98Compress=E2=80=99 was previously declared here > Compress ( > ^ Gcc complains the mismatch of the declaration of Compress(). Since EFIAPI was removed from Compress() on purpose(*), remove EFIAPI from Compress() in the header to match the declaration. * c4e74e9b814cfb4b51cf832f3bb218cd2aba348b ShellPkg/UefiShellDebug1CommandsLib: Remove unnecessary EFIAPI Cc: Jaben Carsey Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Gary Lin Reviewed-by: Ruiyu Ni --- ShellPkg/Library/UefiShellDebug1CommandsLib/Compress.h | 1 - 1 file changed, 1 deletion(-) diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/Compress.h b/Shell= Pkg/Library/UefiShellDebug1CommandsLib/Compress.h index 39a997178f..7fe844e212 100644 --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/Compress.h +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/Compress.h @@ -28,7 +28,6 @@ @retval EFI_BUFFER_TOO_SMALL The buffer was too small. DstSize is requ= ired. **/ EFI_STATUS -EFIAPI Compress ( IN VOID *SrcBuffer, IN UINT64 SrcSize, --=20 2.14.2 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel