aboutsummaryrefslogtreecommitdiff
path: root/libiberty/splay-tree.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2002-09-12 01:11:29 +0000
committerDJ Delorie <dj@redhat.com>2002-09-12 01:11:29 +0000
commita54ba43fe9719b40edbfa24a6f49443d80da650d (patch)
treef61342d4836ba8647047291fb9eb6dd898f54c1d /libiberty/splay-tree.c
parente64f66d17121a4ce10bbd5eeadf8d4130c23e116 (diff)
downloadgdb-a54ba43fe9719b40edbfa24a6f49443d80da650d.zip
gdb-a54ba43fe9719b40edbfa24a6f49443d80da650d.tar.gz
gdb-a54ba43fe9719b40edbfa24a6f49443d80da650d.tar.bz2
merge from gcc
Diffstat (limited to 'libiberty/splay-tree.c')
-rw-r--r--libiberty/splay-tree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libiberty/splay-tree.c b/libiberty/splay-tree.c
index 7999447..3227ed3 100644
--- a/libiberty/splay-tree.c
+++ b/libiberty/splay-tree.c
@@ -482,7 +482,7 @@ splay_tree_predecessor (sp, key)
}
/* Return the immediate successor KEY, or NULL if there is no
- predecessor. KEY need not be present in the tree. */
+ successor. KEY need not be present in the tree. */
splay_tree_node
splay_tree_successor (sp, key)
@@ -492,7 +492,7 @@ splay_tree_successor (sp, key)
int comparison;
splay_tree_node node;
- /* If the tree is empty, there is certainly no predecessor. */
+ /* If the tree is empty, there is certainly no successor. */
if (!sp->root)
return NULL;