From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) (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 1AFFB821DD for ; Tue, 13 Dec 2016 19:34:17 -0800 (PST) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga101.fm.intel.com with ESMTP; 13 Dec 2016 19:34:16 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,344,1477983600"; d="scan'208";a="42357686" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga006.fm.intel.com with ESMTP; 13 Dec 2016 19:34:16 -0800 Received: from FMSMSX110.amr.corp.intel.com (10.18.116.10) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 13 Dec 2016 19:34:16 -0800 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by fmsmsx110.amr.corp.intel.com (10.18.116.10) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 13 Dec 2016 19:34:16 -0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.9]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.97]) with mapi id 14.03.0248.002; Wed, 14 Dec 2016 11:34:14 +0800 From: "Yao, Jiewen" To: "Bi, Dandan" , "edk2-devel@lists.01.org" Thread-Topic: [PATCH v2 11/18] SignedCapsulePkg/IniParsingLib: Update struct name Thread-Index: AQHSVbrXJprPnknuSU6xFwdnH0C4n6EGymDw Date: Wed, 14 Dec 2016 03:34:13 +0000 Message-ID: <74D8A39837DF1E4DA445A8C0B3885C503A8BCD6A@SHSMSX104.ccr.corp.intel.com> References: <1481686269-105384-1-git-send-email-dandan.bi@intel.com> In-Reply-To: <1481686269-105384-1-git-send-email-dandan.bi@intel.com> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [PATCH v2 11/18] SignedCapsulePkg/IniParsingLib: Update struct name 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, 14 Dec 2016 03:34:17 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Rviewed-by: Jiewen.yao@intel.com > -----Original Message----- > From: Bi, Dandan > Sent: Wednesday, December 14, 2016 11:31 AM > To: edk2-devel@lists.01.org > Cc: Yao, Jiewen > Subject: [PATCH v2 11/18] SignedCapsulePkg/IniParsingLib: Update struct n= ame >=20 > 1. Change _SECTION_ITEM to _INI_SECTION_ITEM > 2. Change _COMMENT_LINE to _INI_COMMENT_LINE > Because _SECTION_ITEM and _COMMENT_LINE are duplicated with > the one defined in IntelFrameworkModulePkg\Universal\ > FirmwareVolume\UpdateDriverDxe\UpdateDriver.h >=20 > Cc: Jiewen Yao > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Dandan Bi > --- > SignedCapsulePkg/Library/IniParsingLib/IniParsingLib.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) >=20 > diff --git a/SignedCapsulePkg/Library/IniParsingLib/IniParsingLib.c > b/SignedCapsulePkg/Library/IniParsingLib/IniParsingLib.c > index 5c975f7..270380e 100644 > --- a/SignedCapsulePkg/Library/IniParsingLib/IniParsingLib.c > +++ b/SignedCapsulePkg/Library/IniParsingLib/IniParsingLib.c > @@ -48,21 +48,21 @@ > #define IS_NULL(a) ((a) =3D=3D '\0') >=20 > // This is default allocation. Reallocation will happen if it is not eno= ugh. > #define MAX_LINE_LENGTH 512 >=20 > -typedef struct _SECTION_ITEM SECTION_ITEM; > -struct _SECTION_ITEM { > +typedef struct _INI_SECTION_ITEM SECTION_ITEM; > +struct _INI_SECTION_ITEM { > CHAR8 *PtrSection; > UINTN SecNameLen; > CHAR8 *PtrEntry; > CHAR8 *PtrValue; > SECTION_ITEM *PtrNext; > }; >=20 > -typedef struct _COMMENT_LINE COMMENT_LINE; > -struct _COMMENT_LINE { > +typedef struct _INI_COMMENT_LINE COMMENT_LINE; > +struct _INI_COMMENT_LINE { > CHAR8 *PtrComment; > COMMENT_LINE *PtrNext; > }; >=20 > typedef struct { > -- > 1.9.5.msysgit.1