diff options
author | Russ Cox <rsc@golang.org> | 2014-08-27 23:41:10 -0400 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2014-08-27 23:41:10 -0400 |
commit | fee7c69c6c091d93c8c709ed562a477fd199bb3b (patch) | |
tree | 609fa2569ce5382a20862c08de93722d0e46ad62 /src/cmd/api/goapi.go | |
parent | 8ecb9a765e02a8b19d8fad2afa65aee2a068b01a (diff) | |
download | go-git-fee7c69c6c091d93c8c709ed562a477fd199bb3b.tar.gz |
cmd/api: fix for Lock⇒Mutex change
TBR=iant
CC=golang-codereviews
https://golang.org/cl/133150043
Diffstat (limited to 'src/cmd/api/goapi.go')
-rw-r--r-- | src/cmd/api/goapi.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/api/goapi.go b/src/cmd/api/goapi.go index c3ab9c5bcf..56ba74a506 100644 --- a/src/cmd/api/goapi.go +++ b/src/cmd/api/goapi.go @@ -380,7 +380,7 @@ func (w *Walker) parseFile(dir, file string) (*ast.File, error) { // Just enough to keep the api checker happy. src := "package runtime; type (" + " maptype struct{}; _type struct{}; alg struct{};" + - " mspan struct{}; m struct{}; lock struct{}; slicetype struct{};" + + " mspan struct{}; m struct{}; mutex struct{}; slicetype struct{};" + " iface struct{}; eface struct{}; interfacetype struct{}; itab struct{};" + " mcache struct{}; bucket struct{}; sudog struct{}; g struct{};" + " hchan struct{}; chantype struct{}; waitq struct{};" + |