Fix duplicate symbol in this driver.

"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
This commit is contained in:
mdkinney 2008-10-27 02:11:11 +00:00
parent bc14bdb317
commit 03c110536d
1 changed files with 2 additions and 2 deletions

View File

@ -199,8 +199,8 @@ typedef struct _PCI_IO_DEVICE {
//
// Global Variables
//
extern GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL gPciBusComponentName;
extern GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL gPciBusComponentName2;
extern EFI_COMPONENT_NAME_PROTOCOL gPciBusComponentName;
extern EFI_COMPONENT_NAME2_PROTOCOL gPciBusComponentName2;
extern EFI_DRIVER_BINDING_PROTOCOL gPciBusDriverBinding;
extern BOOLEAN gFullEnumeration;