aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/write_err_android.go
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2021-04-28 11:10:07 -0700
committerIan Lance Taylor <iant@golang.org>2021-04-29 04:19:20 +0000
commit42953bc9f5ded1bcf4ff727d82ddd3b7a8a2b8de (patch)
treeb79982499d0ec93a322a1f425841d5568134a35d /src/runtime/write_err_android.go
parentd09947522d1fbe17d6a8aece07d70e31a3a5311e (diff)
downloadgo-42953bc9f5ded1bcf4ff727d82ddd3b7a8a2b8de.tar.xz
runtime: remove walltime function
There was only one meaningful caller, which changes to call time_now. This clearly separates systems that use walltime1 to be just those that use the stub version of time_now. That is to say, those that do not provide an assembler version of time_now. Change-Id: I14c06cc402070bd705f953af6f9966785015e2a5 Reviewed-on: https://go-review.googlesource.com/c/go/+/314769 Trust: Ian Lance Taylor <iant@golang.org> Reviewed-by: Michael Knyszek <mknyszek@google.com>
Diffstat (limited to 'src/runtime/write_err_android.go')
-rw-r--r--src/runtime/write_err_android.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/write_err_android.go b/src/runtime/write_err_android.go
index 2419fc8663..a876900c95 100644
--- a/src/runtime/write_err_android.go
+++ b/src/runtime/write_err_android.go
@@ -144,7 +144,7 @@ func writeLogdHeader() int {
// hdr[3:7] sec unsigned uint32, little endian.
// hdr[7:11] nsec unsigned uint32, little endian.
hdr[0] = 0 // LOG_ID_MAIN
- sec, nsec := walltime()
+ sec, nsec, _ := time_now()
packUint32(hdr[3:7], uint32(sec))
packUint32(hdr[7:11], uint32(nsec))