From: Russ Cox Date: Wed, 3 Jun 2009 17:18:45 +0000 (-0700) Subject: fix build. i would love to know why my other client X-Git-Tag: weekly.2009-11-06~1478 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=024c83f2f8b9df15cddafac6eab59d07140b3372;p=gostls13.git fix build. i would love to know why my other client didn't see this as a diff. TBR=r OCL=29827 CL=29831 --- diff --git a/src/lib/syscall/syscall_darwin.go b/src/lib/syscall/syscall_darwin.go index 6909d07464..011fc7a0fe 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);