runtime: fix Plan 9 build

LGTM=rsc
R=rsc
CC=golang-codereviews
https://golang.org/cl/138050043
This commit is contained in:
David du Colombier 2014-09-04 08:36:18 +02:00
parent 1b47af2199
commit b1d0152997
2 changed files with 4 additions and 6 deletions

View 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)
{

View File

@ -28,3 +28,7 @@ func errstr() string
const stackSystem = 512
type _Plink uintptr
func os_sigpipe() {
gothrow("too many writes on closed pipe")
}