diff options
author | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-10-11 03:36:31 +0000 |
---|---|---|
committer | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-10-11 03:36:31 +0000 |
commit | d1aeb0bdc36f6bece71a2b0fd3684857d11a867b (patch) | |
tree | 16d3adc0ec1bcb6e6628c164f488ed89958939ab /MdeModulePkg/Universal/Network/Ip4ConfigDxe/ComponentName.c | |
parent | f36d8a69a581c8359a486ddb71e5aaee08888296 (diff) | |
download | edk2-platforms-d1aeb0bdc36f6bece71a2b0fd3684857d11a867b.tar.xz |
Add compiler hint of "GLOBAL_REMOVE_IF_UNREFERENCED" to prevent static unicode string table linked into final image if both PcdComponentNameDisabled and PcdComponentName2Disabled are set to TRUE.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4084 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/Network/Ip4ConfigDxe/ComponentName.c')
-rw-r--r-- | MdeModulePkg/Universal/Network/Ip4ConfigDxe/ComponentName.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/MdeModulePkg/Universal/Network/Ip4ConfigDxe/ComponentName.c b/MdeModulePkg/Universal/Network/Ip4ConfigDxe/ComponentName.c index f3f8e5a7dd..8e26bf5948 100644 --- a/MdeModulePkg/Universal/Network/Ip4ConfigDxe/ComponentName.c +++ b/MdeModulePkg/Universal/Network/Ip4ConfigDxe/ComponentName.c @@ -170,8 +170,7 @@ GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL gIp4ConfigComponentNa };
-STATIC
-EFI_UNICODE_STRING_TABLE mIp4ConfigDriverNameTable[] = {
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_UNICODE_STRING_TABLE mIp4ConfigDriverNameTable[] = {
{"eng;en", L"IP4 CONFIG Network Service Driver"},
{NULL, NULL}
};
|