From 991baa30c0b8db65f41c9f5ca62fe83fe8cea2ab Mon Sep 17 00:00:00 2001 From: Ken Thompson Date: Thu, 18 Dec 2008 20:06:28 -0800 Subject: arrays R=r OCL=21564 CL=21564 --- src/cmd/gc/sys.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/cmd/gc/sys.go') diff --git a/src/cmd/gc/sys.go b/src/cmd/gc/sys.go index 41a702c74..e8216981b 100644 --- a/src/cmd/gc/sys.go +++ b/src/cmd/gc/sys.go @@ -26,7 +26,7 @@ export func slicestring(string, int, int) string; export func indexstring(string, int) byte; export func intstring(int64) string; export func byteastring(*byte, int) string; -export func arraystring(*[]byte) string; +export func arraystring([]byte) string; export func ifaceT2I(sigi *byte, sigt *byte, elem any) (ret any); export func ifaceI2T(sigt *byte, iface any) (ret any); @@ -79,10 +79,10 @@ export func selectrecv(sel *byte, hchan *chan any, elem *any) (selected bool); export func selectdefault(sel *byte) (selected bool); export func selectgo(sel *byte); -export func newarray(nel int, cap int, width int) (ary *[]any); -export func arraysliced(old *[]any, lb int, hb int, width int) (ary *[]any); -export func arrayslices(old *any, nel int, lb int, hb int, width int) (ary *[]any); -export func arrays2d(old *any, nel int) (ary *[]any); +export func newarray(nel int, cap int, width int) (ary []any); +export func arraysliced(old []any, lb int, hb int, width int) (ary []any); +export func arrayslices(old *any, nel int, lb int, hb int, width int) (ary []any); +export func arrays2d(old *any, nel int) (ary []any); export func gosched(); export func goexit(); -- cgit v1.2.3