mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
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.
This commit is contained in:
1 parent
b569baa020
commit
ae2b26dd0d
1 file changed
+2
-3
+2
-3
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user