mirror_edk2/MdeModulePkg
Laszlo Ersek 7b13510f2a MdeModulePkg/BootMaintenanceManagerUiLib: hide library-internal symbol
Static storage duration objects that are internal to a library instance
should:
- either have internal linkage (i.e., be declared STATIC),
- or, if they are referenced in multiple files of the library instance,
  prefixed with a word that is specific to the library instance, and
  minimizes namespace collisions.

In this case, the "gHiiDriverList" variable (with static storage duration
and external linkage) is defined in both BootMaintenanceManagerUiLib and
UiApp. When these are linked together, GCC catches the multiple external
definitions and aborts the build. (GCC notices this due to commit
214a3b79417f.) Fix the error by applying the first rule above.

Fixes: a85be3ae48
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
2016-05-17 10:09:53 +08:00
..
Application MdeModulePkg UiApp: change code for easy customization. 2016-05-13 11:18:13 +08:00
Bus MdeModulePkg AtaAtapiPassThru: Fix incorrect parameter description comment 2016-05-12 14:18:16 +08:00
Core MdeModulePkg-DxeCore: rename CoreGetMemoryMapPropertiesTable 2016-05-16 08:53:37 +08:00
Include MdeModulePkg/PciHostBridgeLib: Add ResourceAssigned field 2016-05-11 08:53:36 +08:00
Library MdeModulePkg/BootMaintenanceManagerUiLib: hide library-internal symbol 2016-05-17 10:09:53 +08:00
Logo MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
Universal MdeModulePkg Variable: return error for empty str VariableName to GetVariable 2016-05-15 17:48:53 +08:00
Contributions.txt */Contributions.txt: Update example email address 2015-02-03 17:29:14 +00:00
License.txt Update copyright format 2012-04-24 06:49:39 +00:00
MdeModulePkg.dec MdeModulePkg: Add EDKII_PI_SMM_COMMUNICATION_REGION_TABLE definition. 2016-04-29 12:49:08 +08:00
MdeModulePkg.dsc MdeModulePkg: Add new driver to publish EDKII_PI_SMM_COMMUNICATION_REGION_TABLE. 2016-04-29 12:49:09 +08:00
MdeModulePkg.uni MdeModulePkg/MdeModulePkg.uni: Add SD related PCD description 2016-04-26 15:44:52 +08:00
MdeModulePkgExtra.uni MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00