aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/os_aix.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/os_aix.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/os_aix.go')
-rw-r--r--src/runtime/os_aix.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/os_aix.go b/src/runtime/os_aix.go
index 557b17cc75..4fb1c8e845 100644
--- a/src/runtime/os_aix.go
+++ b/src/runtime/os_aix.go
@@ -336,7 +336,7 @@ func nanotime1() int64 {
return tp.tv_sec*1000000000 + tp.tv_nsec
}
-func walltime1() (sec int64, nsec int32) {
+func walltime() (sec int64, nsec int32) {
ts := &timespec{}
if clock_gettime(_CLOCK_REALTIME, ts) != 0 {
throw("syscall clock_gettime failed")