diff options
author | Russ Cox <rsc@golang.org> | 2009-05-08 15:21:41 -0700 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2009-05-08 15:21:41 -0700 |
commit | 1ea895d9a458c9e4a91993924fcd39ce7f1dcabe (patch) | |
tree | 5b8c80c41b4110b57cef1a0945350c2caf7557e2 /test/chan/powser2.go | |
parent | 206ea17d5fe6ad6d6492afe73ec2d72ce399a3fd (diff) | |
download | golang-1ea895d9a458c9e4a91993924fcd39ce7f1dcabe.tar.gz |
move things out of sys into os and runtime
R=r
OCL=28569
CL=28573
Diffstat (limited to 'test/chan/powser2.go')
-rw-r--r-- | test/chan/powser2.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/chan/powser2.go b/test/chan/powser2.go index b48110819..d91001969 100644 --- a/test/chan/powser2.go +++ b/test/chan/powser2.go @@ -16,6 +16,8 @@ package main +import "os" + type rat struct { num, den int64; // numerator, denominator } @@ -636,7 +638,7 @@ func checka(U PS, a []*rat, str string) { func main() { Init(); - if len(sys.Args) > 1 { // print + if len(os.Args) > 1 { // print print("Ones: "); Printn(Ones, 10); print("Twos: "); Printn(Twos, 10); print("Add: "); Printn(Add(Ones, Twos), 10); |