mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Style: rename internal function to opendir_compar()
Pointed by: bde
This commit is contained in:
parent
1299e07187
commit
e5c9c8533d
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue