From: David du Colombier <0intro@gmail.com> Date: Thu, 4 Sep 2014 06:36:18 +0000 (+0200) Subject: runtime: fix Plan 9 build X-Git-Tag: go1.4beta1~542 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=b1d01529975d2d87921c88891f85f3faa65e8cea;p=gostls13.git runtime: fix Plan 9 build LGTM=rsc R=rsc CC=golang-codereviews https://golang.org/cl/138050043 --- diff --git a/src/pkg/runtime/os_plan9.c b/src/pkg/runtime/os_plan9.c index 98e449251a..fad5b2717f 100644 --- a/src/pkg/runtime/os_plan9.c +++ b/src/pkg/runtime/os_plan9.c @@ -317,12 +317,6 @@ runtime·semawakeup(M *mp) runtime·plan9_semrelease(&mp->waitsemacount, 1); } -void -os·sigpipe(void) -{ - runtime·throw("too many writes on closed pipe"); -} - static int64 atolwhex(byte *p) { diff --git a/src/pkg/runtime/os_plan9.go b/src/pkg/runtime/os_plan9.go index 4a7b16fd64..c45d22551f 100644 --- a/src/pkg/runtime/os_plan9.go +++ b/src/pkg/runtime/os_plan9.go @@ -28,3 +28,7 @@ func errstr() string const stackSystem = 512 type _Plink uintptr + +func os_sigpipe() { + gothrow("too many writes on closed pipe") +}