summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-06-03 10:18:45 -0700
committerRuss Cox <rsc@golang.org>2009-06-03 10:18:45 -0700
commit060658de038e7a359f2fcf26d0e7d9777d3515da (patch)
treed2efed7a4761d01c81e6779520c642144a23574c
parent7a210d5c0a36df701c0c05b5bbf7296a83b3a99f (diff)
downloadgolang-060658de038e7a359f2fcf26d0e7d9777d3515da.tar.gz
fix build. i would love to know why my other client
didn't see this as a diff. TBR=r OCL=29827 CL=29831
-rw-r--r--src/lib/syscall/syscall_darwin.go11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/lib/syscall/syscall_darwin.go b/src/lib/syscall/syscall_darwin.go
index 6909d0746..011fc7a0f 100644
--- a/src/lib/syscall/syscall_darwin.go
+++ b/src/lib/syscall/syscall_darwin.go
@@ -161,17 +161,6 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, errno int) {
return int64(n), e;
}
-//sys gettimeofday(tp *Timeval) (sec int64, usec int32, errno int)
-func Gettimeofday(tv *Timeval) (errno int) {
- // 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 Sleep(ns int64) (errno int) {
tv := NsecToTimeval(ns);
return Select(0, nil, nil, nil, &tv);