changeset 9562:1850c982220c

Avoid use of private FTS type name. * lib/fts.c (fts_sort): Use FTSENT rather than "struct _ftsent".
author Jim Meyering <jim@meyering.net>
date Mon, 31 Dec 2007 14:00:17 +0100
parents d722bd5e44bd
children c1271da1eeff
files ChangeLog lib/fts.c
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-12-31  Jim Meyering  <jim@meyering.net>
+
+	Avoid use of private FTS type name.
+	* lib/fts.c (fts_sort): Use FTSENT rather than "struct _ftsent".
+
 2007-12-30  Bruno Haible  <bruno@clisp.org>
 
 	Unify 5 copies of the KMP code.
--- a/lib/fts.c
+++ b/lib/fts.c
@@ -1475,7 +1475,7 @@
 	 * 40 so don't realloc one entry at a time.
 	 */
 	if (nitems > sp->fts_nitems) {
-		struct _ftsent **a;
+		FTSENT **a;
 
 		sp->fts_nitems = nitems + 40;
 		if (SIZE_MAX / sizeof *a < sp->fts_nitems