aboutsummaryrefslogtreecommitdiff
path: root/include/splay-tree.h
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2005-04-19 19:09:30 +0000
committerDJ Delorie <dj@redhat.com>2005-04-19 19:09:30 +0000
commita288642de0bfb10e98697ba33f51de1b1b0a0b1d (patch)
tree637ffb1ec3a06efcb5133bc56c2983fe1d18043a /include/splay-tree.h
parenta008ac0314fe9444c27a8e1a26d36e3ed860529d (diff)
downloadgdb-a288642de0bfb10e98697ba33f51de1b1b0a0b1d.zip
gdb-a288642de0bfb10e98697ba33f51de1b1b0a0b1d.tar.gz
gdb-a288642de0bfb10e98697ba33f51de1b1b0a0b1d.tar.bz2
merge from gcc
Diffstat (limited to 'include/splay-tree.h')
-rw-r--r--include/splay-tree.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/splay-tree.h b/include/splay-tree.h
index bcd2a3d..ca11711 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;