summaryrefslogtreecommitdiff
path: root/libgo/go/time/sys.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/time/sys.go')
-rw-r--r--libgo/go/time/sys.go13
1 files changed, 1 insertions, 12 deletions
diff --git a/libgo/go/time/sys.go b/libgo/go/time/sys.go
index 63f4cbf3d77..9fde3b3b650 100644
--- a/libgo/go/time/sys.go
+++ b/libgo/go/time/sys.go
@@ -4,10 +4,7 @@
package time
-import (
- "os"
- "syscall"
-)
+import "os"
// Seconds reports the number of seconds since the Unix epoch,
// January 1, 1970 00:00:00 UTC.
@@ -52,11 +49,3 @@ func sleep(t, ns int64) (int64, os.Error) {
}
return t, nil
}
-
-func sysSleep(t int64) os.Error {
- errno := syscall.Sleep(t)
- if errno != 0 && errno != syscall.EINTR {
- return os.NewSyscallError("sleep", errno)
- }
- return nil
-}