This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[gccgo] Make definition match declaration, part 2
- From: Ian Lance Taylor <iant at google dot com>
- To: gcc-patches at gcc dot gnu dot org, gofrontend-dev at googlegroups dot com
- Date: Fri, 19 Nov 2010 17:38:46 -0800
- Subject: [gccgo] Make definition match declaration, part 2
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
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;