summaryrefslogtreecommitdiff
path: root/libgo/go/internal/race/norace.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/internal/race/norace.go')
-rw-r--r--libgo/go/internal/race/norace.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/libgo/go/internal/race/norace.go b/libgo/go/internal/race/norace.go
index d9049eb1eb..d83c0165b2 100644
--- a/libgo/go/internal/race/norace.go
+++ b/libgo/go/internal/race/norace.go
@@ -1,4 +1,4 @@
-// Copyright 2015 The Go Authors. All rights reserved.
+// Copyright 2015 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
@@ -38,3 +38,5 @@ func ReadRange(addr unsafe.Pointer, len int) {
func WriteRange(addr unsafe.Pointer, len int) {
}
+
+func Errors() int { return 0 }