]> Cypherpunks repositories - gostls13.git/commit
runtime: avoid defining the same variable in more than one translation unit
authorShenghou Ma <minux.ma@gmail.com>
Sat, 26 Jan 2013 01:57:06 +0000 (09:57 +0800)
committerShenghou Ma <minux.ma@gmail.com>
Sat, 26 Jan 2013 01:57:06 +0000 (09:57 +0800)
commit4019d0e4243cea82b033e12da75d49f82419f2cd
tree0af9218a0f630a87cb5fc5fec84411fbd8b4cdc3
parent5a49acc72fd41a8a9b02ac9f4e4c9c41d1bf8c42
runtime: avoid defining the same variable in more than one translation unit
For gccgo runtime and Darwin where -fno-common is the default.

R=iant, dave
CC=golang-dev
https://golang.org/cl/7094061
src/pkg/runtime/malloc.goc
src/pkg/runtime/malloc.h
src/pkg/runtime/proc.c
src/pkg/runtime/runtime.h