summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/cp/ChangeLog4
-rw-r--r--gcc/cp/decl.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 175bc981942..607d71ab961 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,7 @@
+2010-09-29 Yao Qi <yao@codesourcery.com>
+
+ * decl.c (get_atexit_node): Fix typo.
+
2010-09-28 Jason Merrill <jason@redhat.com>
* tree.c (lvalue_kind): Rename from lvalue_p_1, make nonstatic.
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c
index 18367b5e9db..f98237789ef 100644
--- a/gcc/cp/decl.c
+++ b/gcc/cp/decl.c
@@ -6131,7 +6131,7 @@ get_atexit_node (void)
int __cxa_atexit (void (*)(void *), void *, void *)
- We build up the argument types and then then function type
+ We build up the argument types and then the function type
itself. */
tree argtype0, argtype1, argtype2;
@@ -6167,7 +6167,7 @@ get_atexit_node (void)
int atexit (void (*)());
- We build up the argument types and then then function type
+ We build up the argument types and then the function type
itself. */
fn_ptr_type = get_atexit_fn_ptr_type ();
/* Build the final atexit type. */