aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/runtime
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2019-12-09 18:03:53 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2019-12-09 18:03:53 +0000
commit763c9f4a8544318998c7adf04e4c92e9a4b85614 (patch)
treec6db505f350b0501e4ee3fe78e87b003a7977171 /libgo/go/runtime
parentb5b2e3879db9a251a2e7ff2553e188682d202c7e (diff)
downloadgcc-763c9f4a8544318998c7adf04e4c92e9a4b85614.zip
gcc-763c9f4a8544318998c7adf04e4c92e9a4b85614.tar.gz
gcc-763c9f4a8544318998c7adf04e4c92e9a4b85614.tar.bz2
re PR go/92861 (Passes relative time to sem_timedwait on GNU/Hurd)
PR go/92861 runtime: don't define CLOCK_REALTIME in os_hurd.go It's already defined in sysinfo.go. Patch by Samuel Thibault. Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/210538 From-SVN: r279136
Diffstat (limited to 'libgo/go/runtime')
-rw-r--r--libgo/go/runtime/os_hurd.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/libgo/go/runtime/os_hurd.go b/libgo/go/runtime/os_hurd.go
index fab1774..bb3e7ff 100644
--- a/libgo/go/runtime/os_hurd.go
+++ b/libgo/go/runtime/os_hurd.go
@@ -125,7 +125,3 @@ func osinit() {
physPageSize = uintptr(getPageSize())
}
}
-
-const (
- _CLOCK_REALTIME = 0
-)