]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Use opaque type, Hash_table, not `struct hash_table'.
authorJim Meyering <jim@meyering.net>
Fri, 23 Nov 2001 08:10:49 +0000 (08:10 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 23 Nov 2001 08:10:49 +0000 (08:10 +0000)
src/cp-hash.c
src/du.c
src/remove.c

index 86bc71859b189e99162a5ecb554f4cbf35c08dbe..1276a92c86b14cc14404a0d512bfbceda57b3acf 100644 (file)
@@ -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
index 39a01526800cfa5b8b341dbcec63239aad12963a..cfde26905274bb4e17d2a566033c74ebbd2702e3 100644 (file)
--- 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. */
 
index c36928fdbb9fb0ae643f9accfe303cc5031919da..ce8efec6152cbf981ca253eaabb211549e121c4b 100644 (file)
@@ -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;