diff options
author | jcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-08-08 18:22:08 +0000 |
---|---|---|
committer | jcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-08-08 18:22:08 +0000 |
commit | 573d7e468eb83505a20ae3f828b67599cda23b3d (patch) | |
tree | 5530d1ef8660c37980af5250a17b31318c0ec035 /ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.c | |
parent | 1c34b250f66ba304a4da510404caa827af2ad91e (diff) | |
download | edk2-573d7e468eb83505a20ae3f828b67599cda23b3d.zip edk2-573d7e468eb83505a20ae3f828b67599cda23b3d.tar.gz edk2-573d7e468eb83505a20ae3f828b67599cda23b3d.tar.bz2 |
remove CatSPrint from ShellPkg.
signed-off-by: jcarsey
reviewed-by: lgrosenb
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12100 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.c')
-rw-r--r-- | ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.c | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.c index 13c829a..f3cc8d9 100644 --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.c +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.c @@ -368,52 +368,6 @@ ConvertStringToGuid ( return (EFI_SUCCESS);
}
-CHAR16 TempBufferCatSPrint[1000];
-/**
- Appends a formatted Unicode string to a Null-terminated Unicode string
-
- This function appends a formatted Unicode string to the Null-terminated
- Unicode string specified by String. String is optional and may be NULL.
- Storage for the formatted Unicode string returned is allocated using
- AllocateZeroPool(). The pointer to the appended string is returned. The caller
- is responsible for freeing the returned string.
-
- If String is not NULL and not aligned on a 16-bit boundary, then ASSERT().
- If Format is NULL, then ASSERT().
- If Format is not aligned on a 16-bit boundary, then ASSERT().
-
- @param String A null-terminated Unicode string.
- @param FormatString A null-terminated Unicode format string.
- @param ... The variable argument list whose contents are accessed based
- on the format string specified by Format.
-
- @retval NULL There was not enough available memory.
- @return Null terminated Unicode string is that is the formatted
- string appended to String.
- @sa CatVSPrint
-**/
-CHAR16*
-EFIAPI
-CatSPrint (
- IN CONST CHAR16 *String OPTIONAL,
- IN CONST CHAR16 *FormatString,
- ...
- )
-{
- VA_LIST Marker;
- UINTN StringLength;
- if (String != NULL) {
- StrCpy(TempBufferCatSPrint, String);
- } else {
- *TempBufferCatSPrint = CHAR_NULL;
- }
- VA_START (Marker, FormatString);
- StringLength = StrLen(TempBufferCatSPrint);
-
- UnicodeVSPrint(TempBufferCatSPrint+StrLen(TempBufferCatSPrint), 1000-StringLength, FormatString, Marker);
- return (AllocateCopyPool(StrSize(TempBufferCatSPrint), TempBufferCatSPrint));
-}
-
/**
Clear the line at the specified Row.
|