public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH v2 11/18] SignedCapsulePkg/IniParsingLib: Update struct name
@ 2016-12-14  3:31 Dandan Bi
  2016-12-14  3:34 ` Yao, Jiewen
  0 siblings, 1 reply; 2+ messages in thread
From: Dandan Bi @ 2016-12-14  3:31 UTC (permalink / raw)
  To: edk2-devel; +Cc: Jiewen Yao

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>
---
 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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-12-14  3:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-14  3:31 [PATCH v2 11/18] SignedCapsulePkg/IniParsingLib: Update struct name Dandan Bi
2016-12-14  3:34 ` Yao, Jiewen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox