]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: restore nacl timens
authorDmitriy Vyukov <dvyukov@google.com>
Mon, 25 Aug 2014 19:24:18 +0000 (23:24 +0400)
committerDmitriy Vyukov <dvyukov@google.com>
Mon, 25 Aug 2014 19:24:18 +0000 (23:24 +0400)
Deleted in cl/123700044.
I am not sure whether I need to restore it,
or delete rest of the uses...

LGTM=bradfitz
R=golang-codereviews, bradfitz
CC=golang-codereviews
https://golang.org/cl/129580043

src/pkg/runtime/time.go

index 97092c655ecc604dfdcb1a6b66c41a159239367f..c9df3a3643118300376585fae22df0a8d278b22a 100644 (file)
@@ -34,6 +34,9 @@ var timers struct {
        t            []*timer
 }
 
+// nacl fake time support.
+var timens int64
+
 // Package time APIs.
 // Godoc uses the comments in package time, not these.