projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b6e2d1
)
syscalls/sleep_rtems.go: Add missing package clause.
author
Ian Lance Taylor
<ian@gcc.gnu.org>
Mon, 24 Jan 2011 22:44:52 +0000
(22:44 +0000)
committer
Ian Lance Taylor
<ian@gcc.gnu.org>
Mon, 24 Jan 2011 22:44:52 +0000
(22:44 +0000)
From-SVN: r169183
libgo/syscalls/sleep_rtems.go
patch
|
blob
|
history
diff --git
a/libgo/syscalls/sleep_rtems.go
b/libgo/syscalls/sleep_rtems.go
index 443e8508edcef47c5a6412cbf69190b9e4f895c1..8a9ae8a30feae2658810895ef798171541fdadb4 100644
(file)
--- a/
libgo/syscalls/sleep_rtems.go
+++ b/
libgo/syscalls/sleep_rtems.go
@@
-4,6
+4,8
@@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+package syscall
+
func libc_nanosleep(req *Timespec, rem *Timespec) int __asm__ ("nanosleep")
func Sleep(nsec int64) (errno int) {