public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [gccgo] Change definition to match declaration
@ 2010-11-20  6:21 Ian Lance Taylor
  0 siblings, 0 replies; only message in thread
From: Ian Lance Taylor @ 2010-11-20  6:21 UTC (permalink / raw)
  To: gcc-patches, gofrontend-dev

[-- Attachment #1: Type: text/plain, Size: 266 bytes --]

This patch changes the definition of __go_scanstacks in go-go.c to match
the declaration in runtime.h.  This caused no problems on GNU/Linux but
reportedly caused a conflicting types error on Darwin.  I'm not sure
why.  In any case, committed to gccgo branch.

Ian


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: def --]
[-- Type: text/x-diff, Size: 387 bytes --]

diff -r 28f3502e71a2 libgo/runtime/go-go.c
--- a/libgo/runtime/go-go.c	Wed Nov 17 16:13:57 2010 -0800
+++ b/libgo/runtime/go-go.c	Fri Nov 19 15:56:49 2010 -0800
@@ -428,7 +428,7 @@
    with __go_thread_ids_lock held.  */
 
 void
-__go_scanstacks (void (*scan) (unsigned char *, int64_t))
+__go_scanstacks (void (*scan) (byte *, int64_t))
 {
   pthread_t me;
   struct __go_thread_id *p;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-11-19 23:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-20  6:21 [gccgo] Change definition to match declaration Ian Lance Taylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).