Revision: 17863
          http://sourceforge.net/p/edk2/code/17863
Author:   oliviermartin
Date:     2015-07-07 15:46:23 +0000 (Tue, 07 Jul 2015)
Log Message:
-----------
EmbeddedPkg: Remove duplicated definitions of ZeroGuid

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <[email protected]>
Reviewed-by: Ronald Cron <[email protected]>

Modified Paths:
--------------
    trunk/edk2/EmbeddedPkg/Library/EfiFileLib/EfiFileLib.c
    trunk/edk2/EmbeddedPkg/Library/EfiFileLib/EfiFileLib.inf

Modified: trunk/edk2/EmbeddedPkg/Library/EfiFileLib/EfiFileLib.c
===================================================================
--- trunk/edk2/EmbeddedPkg/Library/EfiFileLib/EfiFileLib.c      2015-07-07 
15:45:36 UTC (rev 17862)
+++ trunk/edk2/EmbeddedPkg/Library/EfiFileLib/EfiFileLib.c      2015-07-07 
15:46:23 UTC (rev 17863)
@@ -40,7 +40,10 @@
 #include <Protocol/FirmwareVolume2.h>
 #include <Protocol/LoadFile.h>
 #include <Protocol/FirmwareVolumeBlock.h>
+
 #include <Guid/FileInfo.h>
+#include <Guid/ZeroGuid.h>
+
 #include <Library/BaseLib.h>
 #include <Library/MemoryAllocationLib.h>
 #include <Library/DevicePathLib.h>
@@ -57,8 +60,6 @@
 
 CHAR8 *gCwd = NULL;
 
-CONST EFI_GUID gZeroGuid  = { 0, 0, 0, { 0, 0, 0, 0, 0, 0, 0, 0 } };
-
 #define EFI_OPEN_FILE_GUARD_HEADER  0x4B4D4641
 #define EFI_OPEN_FILE_GUARD_FOOTER  0x444D5A56
 

Modified: trunk/edk2/EmbeddedPkg/Library/EfiFileLib/EfiFileLib.inf
===================================================================
--- trunk/edk2/EmbeddedPkg/Library/EfiFileLib/EfiFileLib.inf    2015-07-07 
15:45:36 UTC (rev 17862)
+++ trunk/edk2/EmbeddedPkg/Library/EfiFileLib/EfiFileLib.inf    2015-07-07 
15:46:23 UTC (rev 17863)
@@ -61,3 +61,4 @@
 [Guids]
   gEfiFileInfoGuid
   gEfiFileSystemInfoGuid
+  gZeroGuid


------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to