From fee7c69c6c091d93c8c709ed562a477fd199bb3b Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Wed, 27 Aug 2014 23:41:10 -0400 Subject: cmd/api: fix for Lock⇒Mutex change MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit TBR=iant CC=golang-codereviews https://golang.org/cl/133150043 --- src/cmd/api/goapi.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cmd/api') 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{};" + -- cgit v1.3