From cecbecb71d6baad7b55ab59bb9bc7dd7de1efc4b Mon Sep 17 00:00:00 2001 From: Shenglei Zhang Date: Wed, 30 Jan 2019 16:33:07 +0800 Subject: [PATCH] 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 Cc: Hao Wu Cc: Ruiyu Ni Cc: Star Zeng Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Shenglei Zhang Reviewed-by: Hao Wu Reviewed-by: Liming Gao Reviewed-by: Ray Ni --- .../EbcDxe/EbcDebugger/EdbSupportString.c | 14 +++++++------- 1 file 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.
+Copyright (c) 2007 - 2019, Intel Corporation. All rights reserved.
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); } /** -- 2.39.2