From 632be89407d862fb6f566e8c217d69a9cf24866d Mon Sep 17 00:00:00 2001 From: Gustavo Niemeyer Date: Tue, 11 Jan 2011 10:17:54 -0500 Subject: [PATCH] cgo: output alignment fix R=rsc CC=golang-dev https://golang.org/cl/3902044 --- src/cmd/cgo/out.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd/cgo/out.go b/src/cmd/cgo/out.go index 4be9116169..481fff2197 100644 --- a/src/cmd/cgo/out.go +++ b/src/cmd/cgo/out.go @@ -180,7 +180,7 @@ func (p *Package) structType(n *Name) (string, int64) { fmt.Fprintf(&buf, "\t\tchar unused;\n") // avoid empty struct off++ } - fmt.Fprintf(&buf, "\t}\n") + fmt.Fprintf(&buf, "\t}") return buf.String(), off }