Skip to content

Commit 8ff4e54

Browse files
committed
unix: add space to generated code
Change-Id: Iab98581ade90ffb6c9faa29d4a45558498fff82a Reviewed-on: https://go-review.googlesource.com/c/155398 Reviewed-by: Tobias Klauser <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]>
1 parent 9fbf701 commit 8ff4e54

5 files changed

+551
-0
lines changed

unix/mksyscall.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,7 @@ func main() {
368368
// redirects to use the function from libSystem.
369369
text += fmt.Sprintf("//go:linkname libc_%s libc_%s\n", libcFn, libcFn)
370370
text += fmt.Sprintf("//go:cgo_import_dynamic libc_%s %s \"/usr/lib/libSystem.B.dylib\"\n", libcFn, libcFn)
371+
text += "\n"
371372
}
372373
}
373374
if err := s.Err(); err != nil {

0 commit comments

Comments
 (0)