From daf6ff4c78947c4a770f866a85f152db9b3a4a64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20L=C3=B3pez-Ib=C3=A1=C3=B1ez?= Date: Sat, 19 Jan 2008 00:39:08 +0000 Subject: [PATCH] re PR other/33768 (splay-tree.c typo) 2008-01-19 Manuel Lopez-Ibanez PR other/33768 * splay-tree.c (rotate_left): Fix minor typo in comment. (rotate_right): Likewise. From-SVN: r131650 --- libiberty/ChangeLog | 6 ++++++ libiberty/splay-tree.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 1260eeba20c6..e2e3acb42d36 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,9 @@ +2008-01-19 Manuel Lopez-Ibanez + + PR other/33768 + * splay-tree.c (rotate_left): Fix minor typo in comment. + (rotate_right): Likewise. + 2007-11-12 Joseph Myers * floatformat.c (floatformat_ibm_long_double_is_valid): Fix diff --git a/libiberty/splay-tree.c b/libiberty/splay-tree.c index 060f900ae0a0..d7ed86813dc5 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)