]> Cypherpunks repositories - gostls13.git/commit
runtime: rename atoi to _atoi on Plan 9
authorDavid du Colombier <0intro@gmail.com>
Mon, 29 Dec 2014 16:35:42 +0000 (17:35 +0100)
committerDavid du Colombier <0intro@gmail.com>
Mon, 29 Dec 2014 17:04:24 +0000 (17:04 +0000)
commit29b4e34cf208653db1471134a1a6489581a30ff5
tree7dea9a393a726bd587580dd2a244465955e2682b
parent0bb8fc66142bae953c0374a292eeab12440af3cb
runtime: rename atoi to _atoi on Plan 9

Following change 2154, the goatoi function
was renamed atoi.

However, this definition conflicts with the
atoi function defined in the Plan 9 runtime,
which takes a []byte instead of a string.

This change fixes the build on Plan 9.

Change-Id: Ia0f7ca2f965bd5e3cce3177bba9c806f64db05eb
Reviewed-on: https://go-review.googlesource.com/2165
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/runtime/os1_plan9.go