1
0
mirror of https://github.com/cc65/cc65.git synced 2025-01-12 02:30:44 +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:
uz 2012-11-06 20:32:09 +00:00
parent 4682d7542a
commit c8b3275246
2 changed files with 9 additions and 32 deletions

View File

@ -1,12 +1,12 @@
/*****************************************************************************/ /*****************************************************************************/
/* */ /* */
/* tgttrans.c */ /* tgttrans.c */
/* */ /* */
/* Character set translation */ /* Character set translation */
/* */ /* */
/* */ /* */
/* */ /* */
/* (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.

View File

@ -6,10 +6,10 @@
/* */ /* */
/* */ /* */
/* */ /* */
/* (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 */
/* */ /* */
/* */ /* */
/* This software is provided 'as-is', without any expressed or implied */ /* This software is provided 'as-is', without any expressed or implied */
@ -34,7 +34,7 @@
#ifndef TGTTRANS_H #ifndef TGTTRANS_H
#define TGTTRANS_H #define TGTTRANS_H
@ -57,18 +57,13 @@ 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.
*/ */
void TgtTranslateStrBuf (StrBuf* Buf); void TgtTranslateStrBuf (StrBuf* Buf);
/* Translate a string buffer from the source character set into the target /* Translate a string buffer from the source character set into the target
* system character set. * system character set.
*/ */