summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2009-01-20 23:20:20 -0500
committerAdam Jackson <ajax@redhat.com>2009-01-20 23:20:20 -0500
commitdaa7af2bb2326de363aa5ea51c29616e3634343a (patch)
treeeb12a65553cae9e4c572b086b5ca091d2bd4dfb5 /src/util
parent6c29007756301f513c0151e2b63af073f310af66 (diff)
Move the copy of CopyISOLatin1Lowered near its user, and un-weak it.
Diffstat (limited to 'src/util')
-rw-r--r--src/util/miscutil.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/util/miscutil.c b/src/util/miscutil.c
index 6e5d52e..3459275 100644
--- a/src/util/miscutil.c
+++ b/src/util/miscutil.c
@@ -43,7 +43,6 @@ from The Open Group.
#ifdef __SUNPRO_C
#pragma weak serverGeneration
-#pragma weak CopyISOLatin1Lowered
#pragma weak register_fpe_functions
#endif
@@ -51,27 +50,6 @@ from The Open Group.
weak long serverGeneration = 1;
weak void
-CopyISOLatin1Lowered (char *dst, char *src, int len)
-{
- register unsigned char *dest, *source;
-
- for (dest = (unsigned char *)dst, source = (unsigned char *)src;
- *source && len > 0;
- source++, dest++, len--)
- {
- 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';
-}
-
-weak void
register_fpe_functions (void)
{
}