Style: rename internal function to opendir_compar()

Pointed by:     bde
This commit is contained in:
Andrey A. Chernov 2010-01-20 07:36:29 +00:00
parent 1299e07187
commit e5c9c8533d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=202679

View File

@ -93,7 +93,7 @@ __opendir2(const char *name, int flags)
}
static int
opendir_sort(const void *p1, const void *p2)
opendir_compar(const void *p1, const void *p2)
{
return (strcmp((*(const struct dirent **)p1)->d_name,
@ -249,7 +249,7 @@ __opendir_common(int fd, const char *name, int flags)
* This sort must be stable.
*/
mergesort(dpv, n, sizeof(*dpv),
opendir_sort);
opendir_compar);
dpv[n] = NULL;
xp = NULL;