]> git.sur5r.net Git - cc65/commitdiff
Removed the unused function TgtTranslateStr.
authoruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 6 Nov 2012 20:32:09 +0000 (20:32 +0000)
committeruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 6 Nov 2012 20:32:09 +0000 (20:32 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@5920 b7a2c559-68d2-44c3-8de9-860c34a00d81

src/common/tgttrans.c
src/common/tgttrans.h

index c184f0dfb02440b4387bcb5cfef2fc0683bde700..dff5238e17d2cc01480a29afebbedbd950d1ee7b 100644 (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                                           */
 /*                D-70794 Filderstadt                                        */
 /* 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)
 /* Translate a buffer of the given length from the source character set into
  * the target system character set.
index 51bf8ebbb6cb4a6b1079d48eb65931ef1e3485dc..6a54cfc4a1556eb176bb432a43f0bcf2b5c41cf3 100644 (file)
@@ -6,10 +6,10 @@
 /*                                                                           */
 /*                                                                           */
 /*                                                                           */
-/* (C) 2000-2008 Ullrich von Bassewitz                                       */
-/*               Roemerstrasse 52                                            */
-/*               D-70794 Filderstadt                                         */
-/* EMail:        uz@cc65.org                                                 */
+/* (C) 2000-2012, Ullrich von Bassewitz                                      */
+/*                Roemerstrasse 52                                           */
+/*                D-70794 Filderstadt                                        */
+/* EMail:         uz@cc65.org                                                */
 /*                                                                           */
 /*                                                                           */
 /* This software is provided 'as-is', without any expressed or implied       */
@@ -34,7 +34,7 @@
 
 
 #ifndef TGTTRANS_H
-#define TGTTRANS_H  
+#define TGTTRANS_H
 
 
 
@@ -57,18 +57,13 @@ int TgtTranslateChar (int C);
  * 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);
 /* Translate a buffer of the given length from the source character set into
  * the target system character set.
  */
 
 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.
  */