aboutsummaryrefslogtreecommitdiff
path: root/libgo/syscalls
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2011-01-24 22:44:52 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2011-01-24 22:44:52 +0000
commit71c67403a2faf26b64c2bf525e392953a2707aa3 (patch)
tree8652b259c3a75cd2c54381c75fb3df73e0053501 /libgo/syscalls
parent2b6e2d13ff5a708d1b570b7d655f1fe4c605d366 (diff)
downloadgcc-71c67403a2faf26b64c2bf525e392953a2707aa3.zip
gcc-71c67403a2faf26b64c2bf525e392953a2707aa3.tar.gz
gcc-71c67403a2faf26b64c2bf525e392953a2707aa3.tar.bz2
syscalls/sleep_rtems.go: Add missing package clause.
From-SVN: r169183
Diffstat (limited to 'libgo/syscalls')
-rw-r--r--libgo/syscalls/sleep_rtems.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/libgo/syscalls/sleep_rtems.go b/libgo/syscalls/sleep_rtems.go
index 443e850..8a9ae8a 100644
--- 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) {