unix: fix //sys decl after CL 548795 CL 548795 mistakenly changed one of the //sys declaration to "// sys" while resolving a merge conflict. For golang/go#64710 Change-Id: I029b461fd3ca7b76f3bd23b3343f7e63c4bb09f3 Reviewed-on: https://go-review.googlesource.com/c/sys/+/688857 Reviewed-by: Keith Randall <khr@golang.org> Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Keith Randall <khr@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
diff --git a/unix/syscall_darwin.go b/unix/syscall_darwin.go index 798f61a..1013b0a 100644 --- a/unix/syscall_darwin.go +++ b/unix/syscall_darwin.go
@@ -602,7 +602,6 @@ return } -// sys connectx(fd int, endpoints *SaEndpoints, associd SaeAssocID, flags uint32, iov []Iovec, n *uintptr, connid *SaeConnID) (err error) const minIovec = 8 func Readv(fd int, iovs [][]byte) (n int, err error) { @@ -746,6 +745,7 @@ return actualMaj > maj || actualMaj == maj && (actualMin > min || actualMin == min && actualPatch >= patch) } +//sys connectx(fd int, endpoints *SaEndpoints, associd SaeAssocID, flags uint32, iov []Iovec, n *uintptr, connid *SaeConnID) (err error) //sys sendfile(infd int, outfd int, offset int64, len *int64, hdtr unsafe.Pointer, flags int) (err error) //sys shmat(id int, addr uintptr, flag int) (ret uintptr, err error)