diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-04-19 18:26:43 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-04-19 18:26:43 +0000 |
commit | 2b0988cf864a0462e5fc351b670f87479f8b9d49 (patch) | |
tree | 94e3ebdcb26d7ee52039b497fe251f42669043ec /include/splay-tree.h | |
parent | 3f40ca2f8575e0d721b22f639206ecd3d904a440 (diff) | |
download | gcc-2b0988cf864a0462e5fc351b670f87479f8b9d49.tar.gz |
* hashtab.h, libiberty.h, objalloc.h, splay-tree.h, ternary.h:
Don't use the PTR macro.
* sort.h: Don't use the PARAMS macro.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98416 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'include/splay-tree.h')
-rw-r--r-- | include/splay-tree.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/splay-tree.h b/include/splay-tree.h index bcd2a3d4425..ca11711ea11 100644 --- a/include/splay-tree.h +++ b/include/splay-tree.h @@ -69,7 +69,7 @@ typedef int (*splay_tree_foreach_fn) (splay_tree_node, void*); node structures. The first argument is the number of bytes needed; the second is a data pointer the splay tree functions pass through to the allocator. This function must never return zero. */ -typedef PTR (*splay_tree_allocate_fn) (int, void *); +typedef void *(*splay_tree_allocate_fn) (int, void *); /* The type of a function used to free memory allocated using the corresponding splay_tree_allocate_fn. The first argument is the @@ -109,7 +109,7 @@ struct splay_tree_s GTY(()) /* Allocate/free functions, and a data pointer to pass to them. */ splay_tree_allocate_fn allocate; splay_tree_deallocate_fn deallocate; - PTR GTY((skip)) allocate_data; + void * GTY((skip)) allocate_data; }; typedef struct splay_tree_s *splay_tree; |