aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/export_darwin_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/export_darwin_test.go')
-rw-r--r--src/runtime/export_darwin_test.go8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/runtime/export_darwin_test.go b/src/runtime/export_darwin_test.go
index 66e2c02c4f6..48455333c14 100644
--- a/src/runtime/export_darwin_test.go
+++ b/src/runtime/export_darwin_test.go
@@ -4,12 +4,4 @@
package runtime
-func Fcntl(fd, cmd, arg uintptr) (uintptr, uintptr) {
- r := fcntl(int32(fd), int32(cmd), int32(arg))
- if r < 0 {
- return ^uintptr(0), uintptr(-r)
- }
- return uintptr(r), 0
-}
-
var SetNonblock = setNonblock