Move scmp() to more appropriate location
This commit is contained in:
parent
5d0b1c2788
commit
0247d42e0c
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user