aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/os3_solaris.go
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2021-04-28 11:42:34 -0700
committerIan Lance Taylor <iant@golang.org>2021-04-29 14:15:04 +0000
commit862ddb37b4e24bcb89f060d50325c8f863ee99bc (patch)
tree0387afacc90529a59ec8b3e3877cec5d57047913 /src/runtime/os3_solaris.go
parent4e3e6b58f7ba16caa58f4c826a63d85e26849036 (diff)
downloadgo-862ddb37b4e24bcb89f060d50325c8f863ee99bc.tar.xz
runtime: rename walltime1 to walltime
Change-Id: Iec9de5ca56eb68d524bbaa0668515dbd09ad38a1 Reviewed-on: https://go-review.googlesource.com/c/go/+/314770 Trust: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> Reviewed-by: Michael Knyszek <mknyszek@google.com>
Diffstat (limited to 'src/runtime/os3_solaris.go')
-rw-r--r--src/runtime/os3_solaris.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/os3_solaris.go b/src/runtime/os3_solaris.go
index 4b65139eb8..39ef831acf 100644
--- a/src/runtime/os3_solaris.go
+++ b/src/runtime/os3_solaris.go
@@ -531,7 +531,7 @@ func usleep(µs uint32) {
usleep1(µs)
}
-func walltime1() (sec int64, nsec int32) {
+func walltime() (sec int64, nsec int32) {
var ts mts
sysvicall2(&libc_clock_gettime, _CLOCK_REALTIME, uintptr(unsafe.Pointer(&ts)))
return ts.tv_sec, int32(ts.tv_nsec)