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>
This commit is contained in:
parent
9bc4e88d84
commit
7c31dd5db8
|
@ -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
|
int
|
||||||
CompareISOLatin1Lowered(unsigned char *s1, int s1len,
|
CompareISOLatin1Lowered(unsigned char *s1, int s1len,
|
||||||
unsigned char *s2, int s2len)
|
unsigned char *s2, int s2len)
|
||||||
|
|
|
@ -173,11 +173,6 @@ extern _X_EXPORT void MarkClientException(
|
||||||
extern _X_HIDDEN Bool CreateConnectionBlock(void);
|
extern _X_HIDDEN Bool CreateConnectionBlock(void);
|
||||||
/* dixutils.c */
|
/* dixutils.c */
|
||||||
|
|
||||||
extern _X_EXPORT void CopyISOLatin1Lowered(
|
|
||||||
unsigned char * /*dest*/,
|
|
||||||
unsigned char * /*source*/,
|
|
||||||
int /*length*/);
|
|
||||||
|
|
||||||
extern _X_EXPORT int CompareISOLatin1Lowered(
|
extern _X_EXPORT int CompareISOLatin1Lowered(
|
||||||
unsigned char * /*a*/,
|
unsigned char * /*a*/,
|
||||||
int alen,
|
int alen,
|
||||||
|
|
Loading…
Reference in New Issue