svn commit: r202679 - head/lib/libc/gen
Andrey A. Chernov
ache at FreeBSD.org
Wed Jan 20 07:36:30 UTC 2010
Author: ache
Date: Wed Jan 20 07:36:29 2010
New Revision: 202679
URL: http://svn.freebsd.org/changeset/base/202679
Log:
Style: rename internal function to opendir_compar()
Pointed by: bde
Modified:
head/lib/libc/gen/opendir.c
Modified: head/lib/libc/gen/opendir.c
==============================================================================
--- head/lib/libc/gen/opendir.c Wed Jan 20 07:28:14 2010 (r202678)
+++ head/lib/libc/gen/opendir.c Wed Jan 20 07:36:29 2010 (r202679)
@@ -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 *nam
* This sort must be stable.
*/
mergesort(dpv, n, sizeof(*dpv),
- opendir_sort);
+ opendir_compar);
dpv[n] = NULL;
xp = NULL;
More information about the svn-src-all
mailing list