diff options
author | Russ Cox <rsc@golang.org> | 2009-08-12 13:18:54 -0700 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2009-08-12 13:18:54 -0700 |
commit | 5b62b19d436de41f77278c7511896a4921f6d040 (patch) | |
tree | 5c642bf4fc333537144c9e43fc2bc06bce4f8a52 /test/ken | |
parent | eda49f331f3350c1c3c2fb8bd843a88b2704d460 (diff) | |
download | go-5b62b19d436de41f77278c7511896a4921f6d040.tar.gz go-5b62b19d436de41f77278c7511896a4921f6d040.zip |
convert non-pkg go files to whole-package compilation.
mostly removing forward declarations.
R=r
DELTA=138 (2 added, 127 deleted, 9 changed)
OCL=33068
CL=33099
Diffstat (limited to 'test/ken')
-rw-r--r-- | test/ken/mfunc.go | 2 | ||||
-rw-r--r-- | test/ken/ptrfun.go | 2 | ||||
-rw-r--r-- | test/ken/rob2.go | 5 | ||||
-rw-r--r-- | test/ken/simpfun.go | 2 |
4 files changed, 0 insertions, 11 deletions
diff --git a/test/ken/mfunc.go b/test/ken/mfunc.go index ab579e9324..78c9617a8f 100644 --- a/test/ken/mfunc.go +++ b/test/ken/mfunc.go @@ -6,8 +6,6 @@ package main -func simple(ia,ib,ic int) (oa,ob int); - func main() { diff --git a/test/ken/ptrfun.go b/test/ken/ptrfun.go index fe16fce3aa..111ac61bb9 100644 --- a/test/ken/ptrfun.go +++ b/test/ken/ptrfun.go @@ -13,8 +13,6 @@ type C struct x func(p *C)int; } -func g(p *C)int; - func (this *C) f()int { diff --git a/test/ken/rob2.go b/test/ken/rob2.go index 29be2efcc1..5098d93990 100644 --- a/test/ken/rob2.go +++ b/test/ken/rob2.go @@ -36,8 +36,6 @@ type Slist struct { } -func (this *Slist) Print(); - func (this *Slist) Car() *Slist { return this.list.car; } @@ -67,9 +65,6 @@ func (slist *Slist) Free() { // free(slist); } -func OpenFile(); -func Parse() *Slist; - //Slist* atom(byte *s, int i); var token int; diff --git a/test/ken/simpfun.go b/test/ken/simpfun.go index 1e063bf0f6..ee2c1a9a09 100644 --- a/test/ken/simpfun.go +++ b/test/ken/simpfun.go @@ -7,8 +7,6 @@ package main -func fun(ia,ib,ic int)int; - func main() { |