diff options
author | David du Colombier <0intro@gmail.com> | 2014-09-04 08:36:18 +0200 |
---|---|---|
committer | David du Colombier <0intro@gmail.com> | 2014-09-04 08:36:18 +0200 |
commit | 471639858656eb5895e16bb8cce5f37235ecca24 (patch) | |
tree | edf1909dd5f25c3f27439e3f531279b7bfeda9d0 | |
parent | e76e4eae957f5bf97d7eab779990e822436e3b1e (diff) | |
download | go-471639858656eb5895e16bb8cce5f37235ecca24.tar.gz |
runtime: fix Plan 9 build
LGTM=rsc
R=rsc
CC=golang-codereviews
https://codereview.appspot.com/138050043
-rw-r--r-- | src/pkg/runtime/os_plan9.c | 6 | ||||
-rw-r--r-- | src/pkg/runtime/os_plan9.go | 4 |
2 files changed, 4 insertions, 6 deletions
diff --git a/src/pkg/runtime/os_plan9.c b/src/pkg/runtime/os_plan9.c index 98e449251..fad5b2717 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 4a7b16fd6..c45d22551 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") +} |