* hashtab.h: Change void * to PTR where necessary.
authorHans-Peter Nilsson <hp@axis.com>
Fri, 3 Nov 2000 20:53:04 +0000 (20:53 +0000)
committerHans-Peter Nilsson <hp@axis.com>
Fri, 3 Nov 2000 20:53:04 +0000 (20:53 +0000)
include/ChangeLog
include/hashtab.h

index c6ad3b4..3811a7c 100644 (file)
@@ -1,3 +1,7 @@
+2000-11-03  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * hashtab.h: Change void * to PTR where necessary.
+
 2000-10-11  Mark Mitchell  <mark@codesourcery.com>
 
        * splay-tree.h (splay_tree_predecessor): Declare.
index 12f830c..c110ac5 100644 (file)
@@ -80,7 +80,7 @@ struct htab
   htab_del del_f;
 
   /* Table itself.  */
-  void **entries;
+  PTR *entries;
 
   /* Current size (in entries) of the hash table */
   size_t size;
@@ -112,12 +112,12 @@ extern htab_t     htab_create     PARAMS ((size_t, htab_hash,
 extern void    htab_delete     PARAMS ((htab_t));
 extern void    htab_empty      PARAMS ((htab_t));
 
-extern void    *htab_find      PARAMS ((htab_t, const void *));
-extern void   **htab_find_slot PARAMS ((htab_t, const void *,
+extern PTR     htab_find       PARAMS ((htab_t, const void *));
+extern PTR     *htab_find_slot PARAMS ((htab_t, const void *,
                                         enum insert_option));
-extern void    *htab_find_with_hash      PARAMS ((htab_t, const void *,
+extern PTR     htab_find_with_hash       PARAMS ((htab_t, const void *,
                                                   hashval_t));
-extern void   **htab_find_slot_with_hash  PARAMS ((htab_t, const void *,
+extern PTR     *htab_find_slot_with_hash  PARAMS ((htab_t, const void *,
                                                   hashval_t,
                                                   enum insert_option));
 extern void    htab_clear_slot PARAMS ((htab_t, void **));