Move scmp() to more appropriate location

This commit is contained in:
phantom 2003-06-26 11:05:56 +00:00
parent 5d0b1c2788
commit 0247d42e0c

View File

@ -310,6 +310,15 @@ list_locales(void)
}
}
/*
* qsort() helper function
*/
static int
scmp(const void *s1, const void *s2)
{
return strcmp(*(const char **)s1, *(const char **)s2);
}
/*
* Output information about all available charmaps
*
@ -355,16 +364,6 @@ list_charmaps(void)
}
}
/*
* qsort() helper function
*/
static int
scmp(const void *s1, const void *s2)
{
return strcmp(*(const char **)s1, *(const char **)s2);
}
/*
* Retrieve sorted list of system locales (or user locales, if PATH_LOCALE
* environment variable is set)