Move scmp() to more appropriate location

This commit is contained in:
Alexey Zelkin 2003-06-26 11:05:56 +00:00
parent 980548ef84
commit 2a805f6300

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)