diff options
Diffstat (limited to 'src/pkg/net/sendfile_stub.go')
-rw-r--r-- | src/pkg/net/sendfile_stub.go | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/pkg/net/sendfile_stub.go b/src/pkg/net/sendfile_stub.go index 43e8104e9..ff76ab9cf 100644 --- a/src/pkg/net/sendfile_stub.go +++ b/src/pkg/net/sendfile_stub.go @@ -2,13 +2,12 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build darwin freebsd netbsd openbsd + package net -import ( - "io" - "os" -) +import "io" -func sendFile(c *netFD, r io.Reader) (n int64, err os.Error, handled bool) { +func sendFile(c *netFD, r io.Reader) (n int64, err error, handled bool) { return 0, nil, false } |