Skip to content

Commit 8fb9565

Browse files
amscannegopherbot
authored andcommitted
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. Change-Id: I16651304c3dba2f9897c2c42e30555d2f7805c2a Reviewed-on: https://go-review.googlesource.com/c/go/+/466615 Reviewed-by: Michael Pratt <[email protected]> Run-TryBot: Michael Pratt <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Auto-Submit: Michael Pratt <[email protected]>
1 parent 910f041 commit 8fb9565

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/internal/poll/fd_poll_runtime.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ func runtime_pollServerInit()
2323
func runtime_pollOpen(fd uintptr) (uintptr, int)
2424
func runtime_pollClose(ctx uintptr)
2525
func runtime_pollWait(ctx uintptr, mode int) int
26-
func runtime_pollWaitCanceled(ctx uintptr, mode int) int
26+
func runtime_pollWaitCanceled(ctx uintptr, mode int)
2727
func runtime_pollReset(ctx uintptr, mode int) int
2828
func runtime_pollSetDeadline(ctx uintptr, d int64, mode int)
2929
func runtime_pollUnblock(ctx uintptr)

src/sync/atomic/value.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,5 +190,5 @@ func (v *Value) CompareAndSwap(old, new any) (swapped bool) {
190190
}
191191

192192
// Disable/enable preemption, implemented in runtime.
193-
func runtime_procPin()
193+
func runtime_procPin() int
194194
func runtime_procUnpin()

0 commit comments

Comments
 (0)