mirror of https://github.com/golang/go.git
[release-branch.go1.20] runtime: fix signature for linked functions
These functions are linked using go:linkname, but do not match the
original declarations. This change brings these in sync.
For #58442.
Change-Id: I16651304c3dba2f9897c2c42e30555d2f7805c2a
Reviewed-on: https://go-review.googlesource.com/c/go/+/466615
Reviewed-by: Michael Pratt <mpratt@google.com>
Run-TryBot: Michael Pratt <mpratt@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Michael Pratt <mpratt@google.com>
(cherry picked from commit 8fb9565832)
Reviewed-on: https://go-review.googlesource.com/c/go/+/466859
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Austin Clements <austin@google.com>
This commit is contained in:
parent
828b05cc64
commit
85ded85b78
|
|
@ -23,7 +23,7 @@ func runtime_pollServerInit()
|
|||
func runtime_pollOpen(fd uintptr) (uintptr, int)
|
||||
func runtime_pollClose(ctx uintptr)
|
||||
func runtime_pollWait(ctx uintptr, mode int) int
|
||||
func runtime_pollWaitCanceled(ctx uintptr, mode int) int
|
||||
func runtime_pollWaitCanceled(ctx uintptr, mode int)
|
||||
func runtime_pollReset(ctx uintptr, mode int) int
|
||||
func runtime_pollSetDeadline(ctx uintptr, d int64, mode int)
|
||||
func runtime_pollUnblock(ctx uintptr)
|
||||
|
|
|
|||
|
|
@ -190,5 +190,5 @@ func (v *Value) CompareAndSwap(old, new any) (swapped bool) {
|
|||
}
|
||||
|
||||
// Disable/enable preemption, implemented in runtime.
|
||||
func runtime_procPin()
|
||||
func runtime_procPin() int
|
||||
func runtime_procUnpin()
|
||||
|
|
|
|||
Loading…
Reference in New Issue