From 611150f1f575475f8c4a3ddaaa51a25a0bc7f478 Mon Sep 17 00:00:00 2001
From: hp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Fri, 3 Nov 2000 20:23:00 +0000
Subject: [PATCH] 	* hashtab.h: Change void * to PTR where necessary.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37230 138bc75d-0d04-0410-961f-82ee72b054a4
---
 include/ChangeLog |  4 ++++
 include/hashtab.h | 10 +++++-----
 2 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/include/ChangeLog b/include/ChangeLog
index 30f281e11a70..038df37250a4 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,7 @@
+2000-11-03  Hans-Peter Nilsson  <hp@bitrange.com>
+
+	* hashtab.h: Change void * to PTR where necessary.
+
 2000-09-10  Mark Mitchell  <mark@codesourcery.com>
 
 	* splay-tree.h (splay_tree_predecessor): Declare.
diff --git a/include/hashtab.h b/include/hashtab.h
index 12f830ca5ec5..c110ac5d1d6f 100644
--- a/include/hashtab.h
+++ b/include/hashtab.h
@@ -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 **));
-- 
GitLab