diff --git a/src/runtime/os1_plan9.go b/src/runtime/os1_plan9.go index 63bba7c34c3..61b0397249f 100644 --- a/src/runtime/os1_plan9.go +++ b/src/runtime/os1_plan9.go @@ -70,7 +70,7 @@ func getpid() uint64 { for c[0] == ' ' || c[0] == '\t' { c = c[1:] } - return uint64(atoi(c)) + return uint64(_atoi(c)) } func osinit() { @@ -254,7 +254,7 @@ func badsignal2() { exits(&_badsignal[0]) } -func atoi(b []byte) int { +func _atoi(b []byte) int { n := 0 for len(b) > 0 && '0' <= b[0] && b[0] <= '9' { n = n*10 + int(b[0]) - '0'