From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) (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 58B148216F for ; Tue, 13 Dec 2016 00:43:26 -0800 (PST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga104.jf.intel.com with ESMTP; 13 Dec 2016 00:43:26 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,340,1477983600"; d="scan'208";a="1098433175" Received: from shwdeopenpsi114.ccr.corp.intel.com ([10.239.157.135]) by fmsmga002.fm.intel.com with ESMTP; 13 Dec 2016 00:43:25 -0800 From: Dandan Bi To: edk2-devel@lists.01.org Cc: Jiewen Yao Date: Tue, 13 Dec 2016 16:40:21 +0800 Message-Id: <1481618428-101904-12-git-send-email-dandan.bi@intel.com> X-Mailer: git-send-email 1.9.5.msysgit.1 In-Reply-To: <1481618428-101904-1-git-send-email-dandan.bi@intel.com> References: <1481618428-101904-1-git-send-email-dandan.bi@intel.com> Subject: [patch 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: Tue, 13 Dec 2016 08:43:26 -0000 1. Change _SECTION_ITEM to _SECTION_ITEMS 2. Change _COMMENT_LINE to _COMMENT_LINES Because _SECTION_ITEM and _COMMENT_LINE are duplicated with the one defined in IntelFrameworkModulePkg\Universal\ FirmwareVolume\UpdateDriverDxe\UpdateDriver.h 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(-) diff --git a/SignedCapsulePkg/Library/IniParsingLib/IniParsingLib.c b/SignedCapsulePkg/Library/IniParsingLib/IniParsingLib.c index 5c975f7..cce9f6a 100644 --- a/SignedCapsulePkg/Library/IniParsingLib/IniParsingLib.c +++ b/SignedCapsulePkg/Library/IniParsingLib/IniParsingLib.c @@ -48,21 +48,21 @@ #define IS_NULL(a) ((a) == '\0') // This is default allocation. Reallocation will happen if it is not enough. #define MAX_LINE_LENGTH 512 -typedef struct _SECTION_ITEM SECTION_ITEM; -struct _SECTION_ITEM { +typedef struct _SECTION_ITEMS SECTION_ITEM; +struct _SECTION_ITEMS { CHAR8 *PtrSection; UINTN SecNameLen; CHAR8 *PtrEntry; CHAR8 *PtrValue; SECTION_ITEM *PtrNext; }; -typedef struct _COMMENT_LINE COMMENT_LINE; -struct _COMMENT_LINE { +typedef struct _COMMENT_LINES COMMENT_LINE; +struct _COMMENT_LINES { CHAR8 *PtrComment; COMMENT_LINE *PtrNext; }; typedef struct { -- 1.9.5.msysgit.1