summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowitz@users.sourceforge.net>2009-10-15 04:24:25 -0500
committerKeith Packard <keithp@keithp.com>2009-10-15 08:08:23 -0700
commit7c31dd5db8b43c7796bf97a07e08213af5afd2ae (patch)
tree76fbae272cd8de5172131e144d2f66f89449eae7
parent9bc4e88d84daf0f4faf0599b575675e74c75f4b8 (diff)
Remove CopyISOLatin1Lowered
This function was moved verbatim into libXfont-1.4, and it is not used by the server or any drivers. Exporting it in both places leads to multiple definition linking errors on Cygwin, where we need to use a static libXfont due to poor weak-symbol handling. Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r--dix/dixutils.c10
-rw-r--r--include/dix.h5
2 files changed, 0 insertions, 15 deletions
diff --git a/dix/dixutils.c b/dix/dixutils.c
index 5cede5f43..8278d444b 100644
--- a/dix/dixutils.c
+++ b/dix/dixutils.c
@@ -165,16 +165,6 @@ ISOLatin1ToLower (unsigned char source)
}
-void
-CopyISOLatin1Lowered(unsigned char *dest, unsigned char *source, int length)
-{
- int i;
-
- for (i = 0; i < length; i++, source++, dest++)
- *dest = ISOLatin1ToLower (*source);
- *dest = '\0';
-}
-
int
CompareISOLatin1Lowered(unsigned char *s1, int s1len,
unsigned char *s2, int s2len)
diff --git a/include/dix.h b/include/dix.h
index 9fd2ed8f8..ed3acb6c4 100644
--- a/include/dix.h
+++ b/include/dix.h
@@ -173,11 +173,6 @@ extern _X_EXPORT void MarkClientException(
extern _X_HIDDEN Bool CreateConnectionBlock(void);
/* dixutils.c */
-extern _X_EXPORT void CopyISOLatin1Lowered(
- unsigned char * /*dest*/,
- unsigned char * /*source*/,
- int /*length*/);
-
extern _X_EXPORT int CompareISOLatin1Lowered(
unsigned char * /*a*/,
int alen,