Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
024c83f2
Commit
024c83f2
authored
Jun 03, 2009
by
Russ Cox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix build. i would love to know why my other client
didn't see this as a diff. TBR=r OCL=29827 CL=29831
parent
e02d3e8e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
11 deletions
+0
-11
src/lib/syscall/syscall_darwin.go
src/lib/syscall/syscall_darwin.go
+0
-11
No files found.
src/lib/syscall/syscall_darwin.go
View file @
024c83f2
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment