mirror_edk2/MdeModulePkg/Library/BootMaintenanceManagerUiLib
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
..
BmLib.c MdeModulePkg:Rename BootMaintenanceManagerLib to BootMaintenanceManagerUiLib 2016-01-19 03:28:46 +00:00
BootMaintenance.c BootMaintenanceManagerUiLib: change code for customization. 2016-05-13 11:18:07 +08:00
BootMaintenanceManager.h BootMaintenanceManagerUiLib: change code for customization. 2016-05-13 11:18:07 +08:00
BootMaintenanceManager.vfr BootMaintenanceManagerUiLib: change code for customization. 2016-05-13 11:18:07 +08:00
BootMaintenanceManagerCustomizedUi.c BootMaintenanceManagerUiLib: change code for customization. 2016-05-13 11:18:07 +08:00
BootMaintenanceManagerCustomizedUi.h BootMaintenanceManagerUiLib: change code for customization. 2016-05-13 11:18:07 +08:00
BootMaintenanceManagerCustomizedUiSupport.c MdeModulePkg/BootMaintenanceManagerUiLib: hide library-internal symbol 2016-05-17 10:09:53 +08:00
BootMaintenanceManagerCustomizedUiSupport.h BootMaintenanceManagerUiLib: change code for customization. 2016-05-13 11:18:07 +08:00
BootMaintenanceManagerStrings.uni BootMaintenanceManagerUiLib: change code for customization. 2016-05-13 11:18:07 +08:00
BootMaintenanceManagerUiLib.inf BootMaintenanceManagerUiLib: change code for customization. 2016-05-13 11:18:07 +08:00
BootMaintenanceManagerUiLib.uni MdeModulePkg:Rename BootMaintenanceManagerLib to BootMaintenanceManagerUiLib 2016-01-19 03:28:46 +00:00
BootOption.c MdeModulePkg/BootMaintManagerUiLib: Declare EFIAPI for ChooseFile handler 2016-03-23 16:03:52 +08:00
ConsoleOption.c MdeModulePkg:Rename BootMaintenanceManagerLib to BootMaintenanceManagerUiLib 2016-01-19 03:28:46 +00:00
Data.c MdeModulePkg:Rename BootMaintenanceManagerLib to BootMaintenanceManagerUiLib 2016-01-19 03:28:46 +00:00
FormGuid.h BootMaintenanceManagerUiLib: change code for customization. 2016-05-13 11:18:07 +08:00
UpdatePage.c BootMaintenanceManagerUiLib: change code for customization. 2016-05-13 11:18:07 +08:00
Variable.c MdeModulePkg: Refine the UI code 2016-03-16 10:41:25 +08:00