]> Cypherpunks repositories - gostls13.git/commit
runtime/cgo: fix data declaration to be extern
authorRuss Cox <rsc@golang.org>
Mon, 7 Nov 2011 18:15:06 +0000 (13:15 -0500)
committerRuss Cox <rsc@golang.org>
Mon, 7 Nov 2011 18:15:06 +0000 (13:15 -0500)
commit1c42db883522997230819f512a92622434838842
treed431ee7dab1cae67ff4ef99c52cd66a0eef9e47b
parent1170a6460f3917f0b060f6de654759edb98f3df5
runtime/cgo: fix data declaration to be extern

Otherwise some OS X toolchains complain about the redeclaration
of libcgo_thread_start by multiple object files.  The real definition
is in util.c.

Fixes #2167.

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/5364045
src/pkg/runtime/cgo/libcgo.h