summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Universal
diff options
context:
space:
mode:
authorShenglei Zhang <shenglei.zhang@intel.com>2019-01-30 16:33:07 +0800
committerLiming Gao <liming.gao@intel.com>2019-01-31 20:19:12 +0800
commitcecbecb71d6baad7b55ab59bb9bc7dd7de1efc4b (patch)
tree4ea296d042467ae37e7ec7ce7fdf0dae8d97ae02 /MdeModulePkg/Universal
parent41dfc44dc63b766ff5e7e39db3d5bbbeae605db5 (diff)
downloadedk2-cecbecb71d6baad7b55ab59bb9bc7dd7de1efc4b.tar.gz
edk2-cecbecb71d6baad7b55ab59bb9bc7dd7de1efc4b.tar.bz2
edk2-cecbecb71d6baad7b55ab59bb9bc7dd7de1efc4b.zip
MdeModulePkg/EbcDebugger: Change function names
Change UnicodeToUpper to InternalUnicodeToUpper. Change AsciiToUpper to InternalAsciiToUpper. These changes are committed for bisectability, or build failure will occur when 2/7 is applied. Because the introduced function names in 2/7 are the same as ones in EdbSupporting.c. https://bugzilla.tianocore.org/show_bug.cgi?id=1369 Cc: Jian J Wang <jian.j.wang@intel.com> Cc: Hao Wu <hao.a.wu@intel.com> Cc: Ruiyu Ni <ruiyu.ni@intel.com> Cc: Star Zeng <star.zeng@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Shenglei Zhang <shenglei.zhang@intel.com> Reviewed-by: Hao Wu <hao.a.wu@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Ray Ni <ray.ni@intel.com>
Diffstat (limited to 'MdeModulePkg/Universal')
-rw-r--r--MdeModulePkg/Universal/EbcDxe/EbcDebugger/EdbSupportString.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/MdeModulePkg/Universal/EbcDxe/EbcDebugger/EdbSupportString.c b/MdeModulePkg/Universal/EbcDxe/EbcDebugger/EdbSupportString.c
index 78a0559079..8495af9900 100644
--- a/MdeModulePkg/Universal/EbcDxe/EbcDebugger/EdbSupportString.c
+++ b/MdeModulePkg/Universal/EbcDxe/EbcDebugger/EdbSupportString.c
@@ -1,6 +1,6 @@
/** @file
-Copyright (c) 2007 - 2016, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2007 - 2019, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -316,7 +316,7 @@ AsciiAtoi (
**/
STATIC
CHAR16
-UnicodeToUpper (
+InternalUnicodeToUpper (
IN CHAR16 Chr
)
{
@@ -332,7 +332,7 @@ UnicodeToUpper (
**/
STATIC
CHAR8
-AsciiToUpper (
+InternalAsciiToUpper (
IN CHAR8 Chr
)
{
@@ -390,12 +390,12 @@ StriCmp (
)
{
while ((*String != L'\0') &&
- (UnicodeToUpper (*String) == UnicodeToUpper (*String2))) {
+ (InternalUnicodeToUpper (*String) == InternalUnicodeToUpper (*String2))) {
String++;
String2++;
}
- return UnicodeToUpper (*String) - UnicodeToUpper (*String2);
+ return InternalUnicodeToUpper (*String) - InternalUnicodeToUpper (*String2);
}
/**
@@ -418,12 +418,12 @@ StriCmpUnicodeAndAscii (
)
{
while ((*String != L'\0') &&
- (UnicodeToUpper (*String) == (CHAR16)AsciiToUpper (*String2))) {
+ (InternalUnicodeToUpper (*String) == (CHAR16)InternalAsciiToUpper (*String2))) {
String++;
String2++;
}
- return UnicodeToUpper (*String) - (CHAR16)AsciiToUpper (*String2);
+ return InternalUnicodeToUpper (*String) - (CHAR16)InternalAsciiToUpper (*String2);
}
/**