Commit 8ff4e546 authored by Keith Randall's avatar Keith Randall Committed by Keith Randall

unix: add space to generated code

Change-Id: Iab98581ade90ffb6c9faa29d4a45558498fff82a
Reviewed-on: https://go-review.googlesource.com/c/155398Reviewed-by: 's avatarTobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
parent 9fbf701f
......@@ -368,6 +368,7 @@ func main() {
// redirects to use the function from libSystem.
text += fmt.Sprintf("//go:linkname libc_%s libc_%s\n", libcFn, libcFn)
text += fmt.Sprintf("//go:cgo_import_dynamic libc_%s %s \"/usr/lib/libSystem.B.dylib\"\n", libcFn, libcFn)
text += "\n"
}
}
if err := s.Err(); err != nil {
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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