mirror of
https://github.com/cc65/cc65.git
synced 2025-01-12 17:30:50 +00:00
Removed the unused function TgtTranslateStr.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5920 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
4682d7542a
commit
c8b3275246
@ -6,7 +6,7 @@
|
|||||||
/* */
|
/* */
|
||||||
/* */
|
/* */
|
||||||
/* */
|
/* */
|
||||||
/* (C) 2000-2011, Ullrich von Bassewitz */
|
/* (C) 2000-2012, Ullrich von Bassewitz */
|
||||||
/* Roemerstrasse 52 */
|
/* Roemerstrasse 52 */
|
||||||
/* D-70794 Filderstadt */
|
/* D-70794 Filderstadt */
|
||||||
/* EMail: uz@cc65.org */
|
/* EMail: uz@cc65.org */
|
||||||
@ -96,24 +96,6 @@ int TgtTranslateChar (int C)
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
char* TgtTranslateStr (char* S)
|
|
||||||
/* Translate a complete string from the source character set into the target
|
|
||||||
* system character set.
|
|
||||||
*/
|
|
||||||
{
|
|
||||||
/* Translate */
|
|
||||||
unsigned char* T = (unsigned char*)S;
|
|
||||||
while (*T) {
|
|
||||||
*T = Tab[*T];
|
|
||||||
++T;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Return the argument string */
|
|
||||||
return S;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
void TgtTranslateBuf (void* Buf, unsigned Len)
|
void TgtTranslateBuf (void* Buf, unsigned Len)
|
||||||
/* Translate a buffer of the given length from the source character set into
|
/* Translate a buffer of the given length from the source character set into
|
||||||
* the target system character set.
|
* the target system character set.
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
/* */
|
/* */
|
||||||
/* */
|
/* */
|
||||||
/* */
|
/* */
|
||||||
/* (C) 2000-2008 Ullrich von Bassewitz */
|
/* (C) 2000-2012, Ullrich von Bassewitz */
|
||||||
/* Roemerstrasse 52 */
|
/* Roemerstrasse 52 */
|
||||||
/* D-70794 Filderstadt */
|
/* D-70794 Filderstadt */
|
||||||
/* EMail: uz@cc65.org */
|
/* EMail: uz@cc65.org */
|
||||||
@ -57,11 +57,6 @@ int TgtTranslateChar (int C);
|
|||||||
* system character set.
|
* system character set.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
char* TgtTranslateStr (char* S);
|
|
||||||
/* Translate a complete string from the source character set into the target
|
|
||||||
* system character set.
|
|
||||||
*/
|
|
||||||
|
|
||||||
void TgtTranslateBuf (void* Buf, unsigned Len);
|
void TgtTranslateBuf (void* Buf, unsigned Len);
|
||||||
/* Translate a buffer of the given length from the source character set into
|
/* Translate a buffer of the given length from the source character set into
|
||||||
* the target system character set.
|
* the target system character set.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user