diff options
Diffstat (limited to 'src/pkg/net/sendfile_stub.go')
| -rw-r--r-- | src/pkg/net/sendfile_stub.go | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/pkg/net/sendfile_stub.go b/src/pkg/net/sendfile_stub.go index c55be6c08..ff76ab9cf 100644 --- a/src/pkg/net/sendfile_stub.go +++ b/src/pkg/net/sendfile_stub.go @@ -2,15 +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 openbsd +// +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 } |
