aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Brainman <alex.brainman@gmail.com>2010-08-06 09:42:55 +1000
committerAlex Brainman <alex.brainman@gmail.com>2010-08-06 09:42:55 +1000
commite96b6835a9f7d8873af715183f04898d1c87e158 (patch)
treea2e9f11d30127073965b309894efd2974f19ff94
parentc78be462a0f5446c21211dcacf1eac81336d85dd (diff)
downloadgo-e96b6835a9f7d8873af715183f04898d1c87e158.tar.gz
go-e96b6835a9f7d8873af715183f04898d1c87e158.zip
fix windows build
R=rsc CC=golang-dev https://golang.org/cl/1890045
-rw-r--r--src/pkg/net/fd_windows.go2
-rw-r--r--src/pkg/time/zoneinfo_windows.go2
2 files changed, 1 insertions, 3 deletions
diff --git a/src/pkg/net/fd_windows.go b/src/pkg/net/fd_windows.go
index 7a78391b06..c3ed9639d2 100644
--- a/src/pkg/net/fd_windows.go
+++ b/src/pkg/net/fd_windows.go
@@ -11,8 +11,6 @@ import (
"unsafe"
)
-var onceStartServer sync.Once
-
// BUG(brainman): The Windows implementation does not implement SetTimeout.
// IO completion result parameters.
diff --git a/src/pkg/time/zoneinfo_windows.go b/src/pkg/time/zoneinfo_windows.go
index d9112598f2..c357eec62b 100644
--- a/src/pkg/time/zoneinfo_windows.go
+++ b/src/pkg/time/zoneinfo_windows.go
@@ -6,7 +6,7 @@ package time
import (
"syscall"
- "once"
+ "sync"
"os"
)