From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) (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 48CC0821F0 for ; Tue, 13 Dec 2016 19:33:20 -0800 (PST) Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga105.fm.intel.com with ESMTP; 13 Dec 2016 19:33:19 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,344,1477983600"; d="scan'208";a="42268218" Received: from shwdeopenpsi114.ccr.corp.intel.com ([10.239.157.135]) by fmsmga005.fm.intel.com with ESMTP; 13 Dec 2016 19:33:19 -0800 From: Dandan Bi To: edk2-devel@lists.01.org Cc: Jiewen Yao Date: Wed, 14 Dec 2016 11:31:09 +0800 Message-Id: <1481686269-105384-1-git-send-email-dandan.bi@intel.com> X-Mailer: git-send-email 1.9.5.msysgit.1 Subject: [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:33:20 -0000 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 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..270380e 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 _INI_SECTION_ITEM SECTION_ITEM; +struct _INI_SECTION_ITEM { CHAR8 *PtrSection; UINTN SecNameLen; CHAR8 *PtrEntry; CHAR8 *PtrValue; SECTION_ITEM *PtrNext; }; -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; }; typedef struct { -- 1.9.5.msysgit.1