]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdePkg/BaseLib: Remove definitions of two functions
authorShenglei Zhang <shenglei.zhang@intel.com>
Wed, 30 Jan 2019 08:34:13 +0000 (16:34 +0800)
committerLiming Gao <liming.gao@intel.com>
Thu, 31 Jan 2019 12:19:15 +0000 (20:19 +0800)
InternalCharToUpper and InternalBaseLibAsciiToUpper are internal functions
and now we will introduce public functions that have the same effects.
So I remove their definitions in BaseLibInternals.h.
https://bugzilla.tianocore.org/show_bug.cgi?id=1369

Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Shenglei Zhang <shenglei.zhang@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
MdePkg/Library/BaseLib/BaseLibInternals.h

index 8855231c1a422e97bbf00691337cfed736f991a6..e5e3b3e2be075dee1ad3872b9dcb57a85e5f74e4 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Declaration of internal functions in BaseLib.\r
 \r
-  Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2006 - 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
@@ -469,28 +469,6 @@ InternalIsDecimalDigitCharacter (
   );\r
 \r
 \r
-/**\r
-  Convert a Unicode character to upper case only if\r
-  it maps to a valid small-case ASCII character.\r
-\r
-  This internal function only deal with Unicode character\r
-  which maps to a valid small-case ASCII character, i.e.\r
-  L'a' to L'z'. For other Unicode character, the input character\r
-  is returned directly.\r
-\r
-  @param  Char  The character to convert.\r
-\r
-  @retval LowerCharacter   If the Char is with range L'a' to L'z'.\r
-  @retval Unchanged        Otherwise.\r
-\r
-**/\r
-CHAR16\r
-EFIAPI\r
-InternalCharToUpper (\r
-  IN      CHAR16                    Char\r
-  );\r
-\r
-\r
 /**\r
   Convert a Unicode character to numerical value.\r
 \r
@@ -552,26 +530,6 @@ InternalAsciiIsDecimalDigitCharacter (
   );\r
 \r
 \r
-/**\r
-  Converts a lowercase Ascii character to upper one.\r
-\r
-  If Chr is lowercase Ascii character, then converts it to upper one.\r
-\r
-  If Value >= 0xA0, then ASSERT().\r
-  If (Value & 0x0F) >= 0x0A, then ASSERT().\r
-\r
-  @param  Chr   one Ascii character\r
-\r
-  @return The uppercase value of Ascii character\r
-\r
-**/\r
-CHAR8\r
-EFIAPI\r
-InternalBaseLibAsciiToUpper (\r
-  IN      CHAR8                     Chr\r
-  );\r
-\r
-\r
 /**\r
   Check if a ASCII character is a hexadecimal character.\r
 \r