summaryrefslogtreecommitdiffstats
path: root/vendor/golang.org/x/sys/unix/syscall_darwin_amd64.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2020-08-25 08:12:16 +1000
committergithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2020-08-24 22:16:38 +0000
commit2598ce1d4b708d01595ddfdd4ae6ec3132a9266b (patch)
tree1cce81cc8f7fd6499b37ee207a75fb022db6dc36 /vendor/golang.org/x/sys/unix/syscall_darwin_amd64.go
parente2f3b2b41fcd8fa9ad15f262f99cb75a748eeb22 (diff)
bump creack
Diffstat (limited to 'vendor/golang.org/x/sys/unix/syscall_darwin_amd64.go')
-rw-r--r--vendor/golang.org/x/sys/unix/syscall_darwin_amd64.go11
1 files changed, 0 insertions, 11 deletions
diff --git a/vendor/golang.org/x/sys/unix/syscall_darwin_amd64.go b/vendor/golang.org/x/sys/unix/syscall_darwin_amd64.go
index fdbfb5911..ce2e0d249 100644
--- a/vendor/golang.org/x/sys/unix/syscall_darwin_amd64.go
+++ b/vendor/golang.org/x/sys/unix/syscall_darwin_amd64.go
@@ -20,17 +20,6 @@ func setTimeval(sec, usec int64) Timeval {
return Timeval{Sec: sec, Usec: int32(usec)}
}
-//sysnb gettimeofday(tp *Timeval) (sec int64, usec int32, err error)
-func Gettimeofday(tv *Timeval) (err error) {
- // The tv passed to gettimeofday must be non-nil
- // but is otherwise unused. The answers come back
- // in the two registers.
- sec, usec, err := gettimeofday(tv)
- tv.Sec = sec
- tv.Usec = usec
- return err
-}
-
func SetKevent(k *Kevent_t, fd, mode, flags int) {
k.Ident = uint64(fd)
k.Filter = int16(mode)