summaryrefslogtreecommitdiff
path: root/include/splay-tree.h
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>1999-12-05 18:13:48 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>1999-12-05 18:13:48 +0000
commit08230f26ced6fd952266669aafeb10481efa5ec5 (patch)
tree3df67b5a266aafe717e4a4b1087aa2cbe39bf704 /include/splay-tree.h
parent95fabfd362052e8daf18ec525935e4c5c03ae94a (diff)
downloadgcc-08230f26ced6fd952266669aafeb10481efa5ec5.tar.gz
splay-tree.h (struct splay_tree_node): Rename to ...
* splay-tree.h (struct splay_tree_node): Rename to ... (struct splay_tree_node_s): ... this. (struct splay_tree): Rename to ... (struct splay_tree_s): ... this. * splay-tree.c (splay_tree_new): Use struct splay_tree_node_s rather than struct splay_tree_node. (splay_tree_insert): Use struct splay_tree_s rather than struct splay_tree. From-SVN: r30790
Diffstat (limited to 'include/splay-tree.h')
-rw-r--r--include/splay-tree.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/splay-tree.h b/include/splay-tree.h
index 307cf054e12..6d70c8d9075 100644
--- a/include/splay-tree.h
+++ b/include/splay-tree.h
@@ -44,7 +44,7 @@ typedef unsigned long int splay_tree_key;
typedef unsigned long int splay_tree_value;
/* Forward declaration for a node in the tree. */
-typedef struct splay_tree_node *splay_tree_node;
+typedef struct splay_tree_node_s *splay_tree_node;
/* The type of a function which compares two splay-tree keys. The
function should return values as for qsort. */
@@ -62,7 +62,7 @@ typedef void (*splay_tree_delete_value_fn) PARAMS((splay_tree_value));
typedef int (*splay_tree_foreach_fn) PARAMS((splay_tree_node, void*));
/* The nodes in the splay tree. */
-struct splay_tree_node
+struct splay_tree_node_s
{
/* The key. */
splay_tree_key key;
@@ -76,7 +76,7 @@ struct splay_tree_node
};
/* The splay tree itself. */
-typedef struct splay_tree
+typedef struct splay_tree_s
{
/* The root of the tree. */
splay_tree_node root;