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 61bafea269cc2df3d6db55d691e3dbfa6da34000..b932ad2e9f21cc5980b194e3a1a08d9ec0a04151 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 ceb8935e331a5c1468d273771c9c6842e9690943..82ea8f6887e2168ee2c9c2ee6d84e57c9a615778 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