1
0
mirror of https://github.com/golang/go synced 2024-11-18 23:24:39 -07:00

cmd/api: fix for Lock⇒Mutex change

TBR=iant
CC=golang-codereviews
https://golang.org/cl/133150043
This commit is contained in:
Russ Cox 2014-08-27 23:41:10 -04:00
parent 8ecb9a765e
commit fee7c69c6c
2 changed files with 2 additions and 2 deletions

View File

@ -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{};" +

View File

@ -9,7 +9,7 @@ import (
)
type callbacks struct {
lock
lock mutex
ctxt [cb_max]*wincallbackcontext
n int
}