summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2005-05-18 19:29:11 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2005-05-18 19:29:11 +0000
commitae2b26dd0dec9e6f23a42bcf3a82893d7a0da975 (patch)
tree6dbd09ff7b55262c58367e750c206f0cfcc9fd91 /lib
parentb569baa0209e9da3a9587693567a561c7b23a2b5 (diff)
downloadcoreutils-ae2b26dd0dec9e6f23a42bcf3a82893d7a0da975.tar.xz
Do not include hash.h or cycle-check.h; no longer needed.
(FTS): Use struct hash_table * instead of Hash_table, so that we no longer need to include hash.h here.
Diffstat (limited to 'lib')
-rw-r--r--lib/fts_.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/fts_.h b/lib/fts_.h
index b932cf77b..5c5e1c2cb 100644
--- a/lib/fts_.h
+++ b/lib/fts_.h
@@ -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;