Patchwork [obv] Fix typo in cp/decl.c

login
register
mail settings
Submitter Yao Qi
Date Sept. 29, 2010, 1:23 p.m.
Message ID <20100929132319.GC598@codesourcery.com>
Download mbox | patch
Permalink /patch/66066/
State New
Headers show

Comments

Yao Qi - Sept. 29, 2010, 1:23 p.m.
Is it a typo here?  If it is, I'll commit this patch.
Nathan Froyd - Sept. 29, 2010, 1:30 p.m.
On Wed, Sep 29, 2010 at 06:23:20AM -0700, Yao Qi wrote:
> Is it a typo here?  If it is, I'll commit this patch.

Yes, those are typos.

-Nathan
Yao Qi - Sept. 29, 2010, 1:53 p.m.
On Wed, Sep 29, 2010 at 06:30:36AM -0700, Nathan Froyd wrote:
> On Wed, Sep 29, 2010 at 06:23:20AM -0700, Yao Qi wrote:
> > Is it a typo here?  If it is, I'll commit this patch.
> 
> Yes, those are typos.
>

Committed as it is obvious.

Patch

gcc/cp:

2010-09-29  Yao Qi  <yao@codesourcery.com>

	* cp/decl.c (get_atexit_node): Fix typo.

Index: cp/decl.c
===================================================================
--- cp/decl.c	(revision 164717)
+++ cp/decl.c	(working copy)
@@ -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.  */