diff options
author | Rob Pike <r@golang.org> | 2008-10-07 10:03:34 -0700 |
---|---|---|
committer | Rob Pike <r@golang.org> | 2008-10-07 10:03:34 -0700 |
commit | 5cff795078a27a56b69a1fa878b3b72be12b60a6 (patch) | |
tree | 0645a52783aff93344e73f29b5a4b614f39d47c8 /src/cmd/gc/sys.go | |
parent | c3f883ca269da60d18eeffd32e1827cf85de08c9 (diff) | |
download | golang-5cff795078a27a56b69a1fa878b3b72be12b60a6.tar.gz |
sys.stringtorune doesn't need a length parameter.
R=rsc
DELTA=7 (0 added, 0 deleted, 7 changed)
OCL=16600
CL=16630
Diffstat (limited to 'src/cmd/gc/sys.go')
-rw-r--r-- | src/cmd/gc/sys.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/gc/sys.go b/src/cmd/gc/sys.go index 37c523d99..8e2e6ac76 100644 --- a/src/cmd/gc/sys.go +++ b/src/cmd/gc/sys.go @@ -76,7 +76,7 @@ export func goexit(); export func readfile(string) (string, bool); // read file into string; boolean status export func writefile(string, string) (bool); // write string into file; boolean status export func bytestorune(*byte, int32, int32) (int32, int32); // convert bytes to runes -export func stringtorune(string, int32, int32) (int32, int32); // convert bytes to runes +export func stringtorune(string, int32) (int32, int32); // convert bytes to runes export func exit(int32); |