aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/race.go
diff options
context:
space:
mode:
authorKeith Randall <khr@golang.org>2014-12-28 23:16:32 -0800
committerKeith Randall <khr@golang.org>2014-12-29 15:18:29 +0000
commit0bb8fc66142bae953c0374a292eeab12440af3cb (patch)
treec65ed92ac5add7fa4b8fe09d37f717938f087e83 /src/runtime/race.go
parentab0535ae3fb45ba734d47542cc4845f27f708d1b (diff)
downloadgo-0bb8fc66142bae953c0374a292eeab12440af3cb.tar.gz
go-0bb8fc66142bae953c0374a292eeab12440af3cb.zip
runtime: remove go prefix from a few routines
They are no longer needed now that C is gone. goatoi -> atoi gofuncname/funcname -> funcname/cfuncname goroundupsize -> already existing roundupsize Change-Id: I278bc33d279e1fdc5e8a2a04e961c4c1573b28c7 Reviewed-on: https://go-review.googlesource.com/2154 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: Minux Ma <minux@golang.org>
Diffstat (limited to 'src/runtime/race.go')
-rw-r--r--src/runtime/race.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/race.go b/src/runtime/race.go
index 649cd7295c..e7703ba770 100644
--- a/src/runtime/race.go
+++ b/src/runtime/race.go
@@ -79,7 +79,7 @@ func racesymbolize(ctx *symbolizeContext) {
return
}
- ctx.fn = funcname(f)
+ ctx.fn = cfuncname(f)
file, line := funcline(f, ctx.pc)
ctx.line = uintptr(line)
ctx.file = &bytes(file)[0] // assume NUL-terminated