]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Do not include hash.h or cycle-check.h; no longer needed.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 18 May 2005 19:29:11 +0000 (19:29 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 18 May 2005 19:29:11 +0000 (19:29 +0000)
(FTS): Use struct hash_table * instead of Hash_table, so that
we no longer need to include hash.h here.

lib/fts_.h

index b932cf77bc1a8d725096fecc64c257ed09bda4c3..5c5e1c2cbec4477cfeecc8c9c3508d8487cff0c8 100644 (file)
@@ -63,8 +63,7 @@
 
 # include <stddef.h>
 # include <sys/types.h>
-# include "hash.h"
-# include "cycle-check.h"
+# include <sys/stat.h>
 
 typedef struct {
        struct _ftsent *fts_cur;        /* current node */
@@ -116,7 +115,7 @@ typedef struct {
           and promptly even when the depth of a hierarchy is in the tens
           of thousands.  Lazy checking, as done by GNU rm via cycle-check.c,
           wouldn't be appropriate for du.  */
-       Hash_table *active_dir_ht;
+       struct hash_table *active_dir_ht;
        struct cycle_check_state *cycle_state;
 } FTS;