Avoid use of private FTS type name.
authorJim Meyering <jim@meyering.net>
Mon, 31 Dec 2007 13:00:17 +0000 (14:00 +0100)
committerJim Meyering <meyering@redhat.com>
Mon, 31 Dec 2007 13:00:46 +0000 (14:00 +0100)
* lib/fts.c (fts_sort): Use FTSENT rather than "struct _ftsent".

ChangeLog
lib/fts.c

index 61bafea..b932ad2 100644 (file)
--- 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.
index ceb8935..82ea8f6 100644 (file)
--- a/lib/fts.c
+++ b/lib/fts.c
@@ -1475,7 +1475,7 @@ fts_sort (FTS *sp, FTSENT *head, register size_t nitems)
         * 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