summaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
authormanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>2008-01-19 00:39:08 +0000
committermanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>2008-01-19 00:39:08 +0000
commit6a50f7856b1eed7bc29e57db2bf0617314e76e47 (patch)
tree856f3a908b5fbc002ade447ba2c01604b8013601 /libiberty
parenta7bc23c029616a02510a0adfe9783e2918520922 (diff)
downloadgcc-6a50f7856b1eed7bc29e57db2bf0617314e76e47.tar.gz
2008-01-19 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
PR other/33768 * splay-tree.c (rotate_left): Fix minor typo in comment. (rotate_right): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131650 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty')
-rw-r--r--libiberty/ChangeLog6
-rw-r--r--libiberty/splay-tree.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index 1260eeba20c..e2e3acb42d3 100644
--- a/libiberty/ChangeLog
+++ b/libiberty/ChangeLog
@@ -1,3 +1,9 @@
+2008-01-19 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
+
+ PR other/33768
+ * splay-tree.c (rotate_left): Fix minor typo in comment.
+ (rotate_right): Likewise.
+
2007-11-12 Joseph Myers <joseph@codesourcery.com>
* floatformat.c (floatformat_ibm_long_double_is_valid): Fix
diff --git a/libiberty/splay-tree.c b/libiberty/splay-tree.c
index 060f900ae0a..d7ed86813dc 100644
--- a/libiberty/splay-tree.c
+++ b/libiberty/splay-tree.c
@@ -107,7 +107,7 @@ splay_tree_delete_helper (splay_tree sp, splay_tree_node node)
}
/* Rotate the edge joining the left child N with its parent P. PP is the
- grandparents pointer to P. */
+ grandparents' pointer to P. */
static inline void
rotate_left (splay_tree_node *pp, splay_tree_node p, splay_tree_node n)
@@ -120,7 +120,7 @@ rotate_left (splay_tree_node *pp, splay_tree_node p, splay_tree_node n)
}
/* Rotate the edge joining the right child N with its parent P. PP is the
- grandparents pointer to P. */
+ grandparents' pointer to P. */
static inline void
rotate_right (splay_tree_node *pp, splay_tree_node p, splay_tree_node n)