Patchwork [gccgo] Make definition match declaration, part 2

login
register
mail settings
Submitter Ian Taylor
Date Nov. 20, 2010, 1:38 a.m.
Message ID <mcrfwuw22qh.fsf@google.com>
Download mbox | patch
Permalink /patch/72341/
State New
Headers show

Comments

Ian Taylor - Nov. 20, 2010, 1:38 a.m.
I misunderstood the bug report about making the definition match the
declaration.  This is another attempt at fixing the problem.  Committed
to gccgo branch.

Ian

Patch

diff -r 4b13f7379616 libgo/runtime/go-go.c
--- a/libgo/runtime/go-go.c	Fri Nov 19 15:57:09 2010 -0800
+++ b/libgo/runtime/go-go.c	Fri Nov 19 17:36:56 2010 -0800
@@ -428,7 +428,7 @@ 
    with __go_thread_ids_lock held.  */
 
 void
-__go_scanstacks (void (*scan) (byte *, int64_t))
+__go_scanstacks (void (*scan) (byte *, int64))
 {
   pthread_t me;
   struct __go_thread_id *p;