diff options
author | mrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-09-12 00:51:25 +0000 |
---|---|---|
committer | mrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-09-12 00:51:25 +0000 |
commit | 0fe3478a12170032b09c0515077c132834406465 (patch) | |
tree | 8459439e603ba32f5af1b4e0f932d0d0fa3d5ab9 /libiberty | |
parent | 28066bde6c4a4be84ca02ffb8065fc8231eefc06 (diff) | |
download | gcc-0fe3478a12170032b09c0515077c132834406465.tar.gz |
* splay-tree.c (splay_tree_successor): Fix comments.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57044 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty')
-rw-r--r-- | libiberty/ChangeLog | 4 | ||||
-rw-r--r-- | libiberty/splay-tree.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index f60ce09252d..52565aafa43 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,7 @@ +2002-09-10 Mike Stump <mrs@apple.com> + + * splay-tree.c (splay_tree_successor): Fix comments. + 2002-09-11 Zack Weinberg <zack@codesourcery.com> * cplus-dem.c: Code under #ifdef MAIN moved to gcc/cp/cxxfilt.c. diff --git a/libiberty/splay-tree.c b/libiberty/splay-tree.c index 7999447bc11..3227ed3d3a6 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; |