]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: fix Plan 9 build
authorDavid du Colombier <0intro@gmail.com>
Thu, 4 Sep 2014 06:36:18 +0000 (08:36 +0200)
committerDavid du Colombier <0intro@gmail.com>
Thu, 4 Sep 2014 06:36:18 +0000 (08:36 +0200)
LGTM=rsc
R=rsc
CC=golang-codereviews
https://golang.org/cl/138050043

src/pkg/runtime/os_plan9.c
src/pkg/runtime/os_plan9.go

index 98e449251a5407ad2a01e4d019d44e28ac9cf22b..fad5b2717f717034fb45b097ee4c6283c9b25bf0 100644 (file)
@@ -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)
 {
index 4a7b16fd64311c2a1f95e28e8f43b6d9fd4b5da8..c45d22551f2e67aedb5af2b3d535b23d3edb001f 100644 (file)
@@ -28,3 +28,7 @@ func errstr() string
 const stackSystem = 512
 
 type _Plink uintptr
+
+func os_sigpipe() {
+       gothrow("too many writes on closed pipe")
+}