summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-11-23 08:10:49 +0000
committerJim Meyering <jim@meyering.net>2001-11-23 08:10:49 +0000
commit4d13e6fa55b4c96ab22ab646c52a62797cb33858 (patch)
treea0ee9967bfec489bc05774006e0e41261a1b7b08 /src
parente38b3095cb2aa107120b70add989405e0b105d2b (diff)
downloadcoreutils-4d13e6fa55b4c96ab22ab646c52a62797cb33858.tar.xz
Use opaque type, Hash_table, not `struct hash_table'.
Diffstat (limited to 'src')
-rw-r--r--src/cp-hash.c2
-rw-r--r--src/du.c2
-rw-r--r--src/remove.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/src/cp-hash.c b/src/cp-hash.c
index 86bc71859..1276a92c8 100644
--- a/src/cp-hash.c
+++ b/src/cp-hash.c
@@ -50,7 +50,7 @@ struct Src_to_dest
/* This table maps source dev/ino to destination file name.
We use it to preserve hard links when copying. */
-static struct hash_table *src_to_dest;
+static Hash_table *src_to_dest;
/* Initial size of the above hash table. */
#define INITIAL_TABLE_SIZE 103
diff --git a/src/du.c b/src/du.c
index 39a015268..cfde26905 100644
--- a/src/du.c
+++ b/src/du.c
@@ -84,7 +84,7 @@ struct entry
};
/* A set of dev/ino pairs. */
-static struct hash_table *htab;
+static Hash_table *htab;
/* Structure for dynamically resizable strings. */
diff --git a/src/remove.c b/src/remove.c
index c36928fdb..ce8efec61 100644
--- a/src/remove.c
+++ b/src/remove.c
@@ -120,7 +120,7 @@ static struct obstack len_stack;
This construct is used to detect directory cycles so that RM can warn
about them rather than iterating endlessly. */
#ifdef ENABLE_CYCLE_CHECK
-static struct hash_table *active_dir_map;
+static Hash_table *active_dir_map;
#endif
static inline unsigned int
@@ -425,7 +425,7 @@ remove_cwd_entries (const struct rm_options *x)
/* NULL or a malloc'd and initialized hash table of entries in the
current directory that have been processed but not removed --
due either to an error or to an interactive `no' response. */
- struct hash_table *ht = NULL;
+ Hash_table *ht = NULL;
/* FIXME: describe */
static struct obstack entry_name_pool;