]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Fix duplicate symbol in this driver.
authormdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 27 Oct 2008 02:11:11 +0000 (02:11 +0000)
committermdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 27 Oct 2008 02:11:11 +0000 (02:11 +0000)
"GLOBAL_REMOVED_IF_UNREFERENCED" must never be used with an "extern" declaration.  It can only be used with the declaration of the actual global variable.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6241 6f19259b-4bc3-4df7-8a09-765794883524

DuetPkg/PciBusNoEnumerationDxe/PciBus.h

index db5215ca1b8490b6a99923a0216e0f28e543dc23..d652238d9ecdd6e0064e87d0b313e724aca3da56 100644 (file)
@@ -199,8 +199,8 @@ typedef struct _PCI_IO_DEVICE {
 //\r
 // Global Variables\r
 //\r
-extern GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL gPciBusComponentName;\r
-extern GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL  gPciBusComponentName2;\r
+extern EFI_COMPONENT_NAME_PROTOCOL gPciBusComponentName;\r
+extern EFI_COMPONENT_NAME2_PROTOCOL  gPciBusComponentName2;\r
 extern EFI_DRIVER_BINDING_PROTOCOL  gPciBusDriverBinding;\r
 \r
 extern BOOLEAN                     gFullEnumeration;\r