]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdeModulePkg/EbcDebugger: Change function names
authorShenglei Zhang <shenglei.zhang@intel.com>
Wed, 30 Jan 2019 08:33:07 +0000 (16:33 +0800)
committerLiming Gao <liming.gao@intel.com>
Thu, 31 Jan 2019 12:19:12 +0000 (20:19 +0800)
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>
MdeModulePkg/Universal/EbcDxe/EbcDebugger/EdbSupportString.c

index 78a0559079e324790847bfe12834d4286f4fe7ea..8495af99002e8b4d7a0b329a5098e619fcc40f82 100644 (file)
@@ -1,6 +1,6 @@
 /** @file\r
 \r
-Copyright (c) 2007 - 2016, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2007 - 2019, Intel Corporation. All rights reserved.<BR>\r
 This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
 which accompanies this distribution.  The full text of the license may be found at\r
@@ -316,7 +316,7 @@ AsciiAtoi (
 **/\r
 STATIC\r
 CHAR16\r
-UnicodeToUpper (\r
+InternalUnicodeToUpper (\r
   IN      CHAR16                    Chr\r
   )\r
 {\r
@@ -332,7 +332,7 @@ UnicodeToUpper (
 **/\r
 STATIC\r
 CHAR8\r
-AsciiToUpper (\r
+InternalAsciiToUpper (\r
   IN      CHAR8                     Chr\r
   )\r
 {\r
@@ -390,12 +390,12 @@ StriCmp (
   )\r
 {\r
   while ((*String != L'\0') &&\r
-         (UnicodeToUpper (*String) == UnicodeToUpper (*String2))) {\r
+         (InternalUnicodeToUpper (*String) == InternalUnicodeToUpper (*String2))) {\r
     String++;\r
     String2++;\r
   }\r
 \r
-  return UnicodeToUpper (*String) - UnicodeToUpper (*String2);\r
+  return InternalUnicodeToUpper (*String) - InternalUnicodeToUpper (*String2);\r
 }\r
 \r
 /**\r
@@ -418,12 +418,12 @@ StriCmpUnicodeAndAscii (
   )\r
 {\r
   while ((*String != L'\0') &&\r
-         (UnicodeToUpper (*String) == (CHAR16)AsciiToUpper (*String2))) {\r
+         (InternalUnicodeToUpper (*String) == (CHAR16)InternalAsciiToUpper (*String2))) {\r
     String++;\r
     String2++;\r
   }\r
 \r
-  return UnicodeToUpper (*String) - (CHAR16)AsciiToUpper (*String2);\r
+  return InternalUnicodeToUpper (*String) - (CHAR16)InternalAsciiToUpper (*String2);\r
 }\r
 \r
 /**\r