[PATCH xfs 2/2] Delete unused CopyISOLatin1Lowered function

Julien Cristau jcristau at debian.org
Thu May 8 10:28:28 PDT 2014


---
 difs/difsutils.c | 20 --------------------
 1 file changed, 20 deletions(-)

diff --git a/difs/difsutils.c b/difs/difsutils.c
index 0dd99b5..7e350c6 100644
--- a/difs/difsutils.c
+++ b/difs/difsutils.c
@@ -189,26 +189,6 @@ XpClientIsPrintClient(ClientPtr client, FontPathElementPtr fpe)
     return FALSE;
 }
 
-void
-CopyISOLatin1Lowered(char *d, const char *s, int length)
-{
-    register int i;
-    unsigned char *dest = (unsigned char *)d;
-    const unsigned char *source = (const unsigned char *)s;
-
-    for (i = 0; i < length; i++, source++, dest++) {
-	if ((*source >= XK_A) && (*source <= XK_Z))
-	    *dest = *source + (XK_a - XK_A);
-	else if ((*source >= XK_Agrave) && (*source <= XK_Odiaeresis))
-	    *dest = *source + (XK_agrave - XK_Agrave);
-	else if ((*source >= XK_Ooblique) && (*source <= XK_Thorn))
-	    *dest = *source + (XK_oslash - XK_Ooblique);
-	else
-	    *dest = *source;
-    }
-    *dest = '\0';
-}
-
 int
 strncmpnocase(
     const char *first,
-- 
2.0.0.rc0



More information about the xorg-devel mailing list