summaryrefslogtreecommitdiff
path: root/test/ken
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-08-12 13:18:54 -0700
committerRuss Cox <rsc@golang.org>2009-08-12 13:18:54 -0700
commit00d3aec9c798ffa5b27c50eae9feb8fd382913d3 (patch)
tree5c642bf4fc333537144c9e43fc2bc06bce4f8a52 /test/ken
parentf07be25e900e7bf3bdb9f172d50e1f30669270a8 (diff)
downloadgo-00d3aec9c798ffa5b27c50eae9feb8fd382913d3.tar.gz
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.go2
-rw-r--r--test/ken/ptrfun.go2
-rw-r--r--test/ken/rob2.go5
-rw-r--r--test/ken/simpfun.go2
4 files changed, 0 insertions, 11 deletions
diff --git a/test/ken/mfunc.go b/test/ken/mfunc.go
index ab579e932..78c9617a8 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 fe16fce3a..111ac61bb 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 29be2efcc..5098d9399 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 1e063bf0f..ee2c1a9a0 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()
{