From 999e1c0738290c503d59080c8c7c7f9f1094a72d Mon Sep 17 00:00:00 2001 From: ian Date: Fri, 7 Dec 2018 14:22:55 +0000 Subject: [PATCH] runtime: add missing return for non-GNU/Linux version of tgkill Path from Rainer Orth. Reviewed-on: https://go-review.googlesource.com/c/153118 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@266890 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/go/gofrontend/MERGE | 2 +- libgo/go/runtime/stubs_nonlinux.go | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE index b71d71ff42c5..062f9c798176 100644 --- a/gcc/go/gofrontend/MERGE +++ b/gcc/go/gofrontend/MERGE @@ -1,4 +1,4 @@ -edc7e7172e674b8c7e9c3caa30e24280cd289a9c +f0266d382f8965b7bcaa380aa963498c1884505e The first line of this file holds the git revision number of the last merge done from the gofrontend repository. diff --git a/libgo/go/runtime/stubs_nonlinux.go b/libgo/go/runtime/stubs_nonlinux.go index 4cdab0c8b813..325d35d537db 100644 --- a/libgo/go/runtime/stubs_nonlinux.go +++ b/libgo/go/runtime/stubs_nonlinux.go @@ -17,4 +17,5 @@ func gettid() _pid_t { func tgkill(pid _pid_t, tid _pid_t, sig uint32) uint32 { throw("tgkill not implemented") + return 0 } -- 2.39.2