From 67c09dd5ce8af0b909e5f8f51cb178e0fb6603a3 Mon Sep 17 00:00:00 2001 From: Dandan Bi Date: Tue, 13 Dec 2016 10:43:53 +0800 Subject: [PATCH] SignedCapsulePkg/IniParsingLib: Update struct name 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 Reviewed-by: Jiewen Yao --- 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 5c975f7ca4..270380e16e 100644 --- a/SignedCapsulePkg/Library/IniParsingLib/IniParsingLib.c +++ b/SignedCapsulePkg/Library/IniParsingLib/IniParsingLib.c @@ -50,8 +50,8 @@ // 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; @@ -59,8 +59,8 @@ struct _SECTION_ITEM { 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; };