bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Avoid use of private FTS type name.


From: Jim Meyering
Subject: [PATCH] Avoid use of private FTS type name.
Date: Mon, 31 Dec 2007 14:02:55 +0100

FYI, I've just pushed this change:

        Avoid use of private FTS type name.
        * lib/fts.c (fts_sort): Use FTSENT rather than "struct _ftsent".

diff --git a/lib/fts.c b/lib/fts.c
index ceb8935..82ea8f6 100644
--- 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
--
1.5.4.rc2.1.gc00e




reply via email to

[Prev in Thread] Current Thread [Next in Thread]