summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDandan Bi <dandan.bi@intel.com>2016-12-13 10:43:53 +0800
committerStar Zeng <star.zeng@intel.com>2016-12-14 21:34:41 +0800
commit67c09dd5ce8af0b909e5f8f51cb178e0fb6603a3 (patch)
tree8c88d5171c6825431edb2d5b4e5b923da622dc7d
parent9bf6a222399ddd71eeb200d15daf49c3510e6ceb (diff)
downloadedk2-67c09dd5ce8af0b909e5f8f51cb178e0fb6603a3.tar.gz
edk2-67c09dd5ce8af0b909e5f8f51cb178e0fb6603a3.tar.bz2
edk2-67c09dd5ce8af0b909e5f8f51cb178e0fb6603a3.zip
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 <jiewen.yao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan.bi@intel.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
-rw-r--r--SignedCapsulePkg/Library/IniParsingLib/IniParsingLib.c8
1 files 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;
};