Commit fee7c69c authored by Russ Cox's avatar Russ Cox

cmd/api: fix for Lock⇒Mutex change

TBR=iant
CC=golang-codereviews
https://golang.org/cl/133150043
parent 8ecb9a76
......@@ -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{};" +
......
......@@ -9,7 +9,7 @@ import (
)
type callbacks struct {
lock
lock mutex
ctxt [cb_max]*wincallbackcontext
n int
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment