diff options
-rw-r--r-- | src/cmd/cgo/out.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/cgo/out.go b/src/cmd/cgo/out.go index 4be911616..481fff219 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 } |