summaryrefslogtreecommitdiff
path: root/src/pkg/runtime
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2010-04-20 17:03:25 -0700
committerRuss Cox <rsc@golang.org>2010-04-20 17:03:25 -0700
commitfba2a7d37f3b4fd0e1b7ee84e367d8760925c9ba (patch)
treeef56b85491e31c69215ae035fc07d31010a09e0a /src/pkg/runtime
parent6bd8e8340639617af0fd9fa223498c940e6cb1a2 (diff)
downloadgo-fba2a7d37f3b4fd0e1b7ee84e367d8760925c9ba.tar.gz
runtime: rename cgo2c, *.cgo to goc2c, *.goc
to avoid confusion with real cgo R=r CC=golang-dev http://codereview.appspot.com/904046
Diffstat (limited to 'src/pkg/runtime')
-rw-r--r--src/pkg/runtime/Makefile8
-rw-r--r--src/pkg/runtime/goc2c.c (renamed from src/pkg/runtime/cgo2c.c)0
-rw-r--r--src/pkg/runtime/malloc.goc (renamed from src/pkg/runtime/malloc.cgo)0
-rw-r--r--src/pkg/runtime/mingw/syscall.goc (renamed from src/pkg/runtime/mingw/syscall.cgo)0
-rw-r--r--src/pkg/runtime/mprof.goc (renamed from src/pkg/runtime/mprof.cgo)0
-rw-r--r--src/pkg/runtime/reflect.goc (renamed from src/pkg/runtime/reflect.cgo)0
-rw-r--r--src/pkg/runtime/runtime1.goc (renamed from src/pkg/runtime/runtime1.cgo)0
-rw-r--r--src/pkg/runtime/sema.goc (renamed from src/pkg/runtime/sema.cgo)0
-rw-r--r--src/pkg/runtime/sigqueue.goc (renamed from src/pkg/runtime/sigqueue.cgo)0
-rw-r--r--src/pkg/runtime/string.goc (renamed from src/pkg/runtime/string.cgo)0
10 files changed, 4 insertions, 4 deletions
diff --git a/src/pkg/runtime/Makefile b/src/pkg/runtime/Makefile
index 3ce8ba242..f7da0251e 100644
--- a/src/pkg/runtime/Makefile
+++ b/src/pkg/runtime/Makefile
@@ -114,13 +114,13 @@ $(pkgdir)/%.h: %.h
clean: clean-local
clean-local:
- rm -f cgo2c mkversion version.go */asm.h runtime.acid.*
+ rm -f goc2c mkversion version.go */asm.h runtime.acid.*
$(GOARCH)/asm.h: mkasmh.sh runtime.acid.$(GOARCH)
./mkasmh.sh >$@.x
mv -f $@.x $@
-cgo2c: cgo2c.c
+goc2c: goc2c.c
$(QUOTED_GOBIN)/quietgcc -o $@ $<
mkversion: mkversion.c
@@ -129,8 +129,8 @@ mkversion: mkversion.c
version.go: mkversion
./mkversion >version.go
-%.c: %.cgo cgo2c
- ./cgo2c $< > $@.tmp
+%.c: %.goc goc2c
+ ./goc2c $< > $@.tmp
mv -f $@.tmp $@
%.$O: $(GOARCH)/%.c
diff --git a/src/pkg/runtime/cgo2c.c b/src/pkg/runtime/goc2c.c
index a4489213f..a4489213f 100644
--- a/src/pkg/runtime/cgo2c.c
+++ b/src/pkg/runtime/goc2c.c
diff --git a/src/pkg/runtime/malloc.cgo b/src/pkg/runtime/malloc.goc
index e6b965444..e6b965444 100644
--- a/src/pkg/runtime/malloc.cgo
+++ b/src/pkg/runtime/malloc.goc
diff --git a/src/pkg/runtime/mingw/syscall.cgo b/src/pkg/runtime/mingw/syscall.goc
index 6bccc486d..6bccc486d 100644
--- a/src/pkg/runtime/mingw/syscall.cgo
+++ b/src/pkg/runtime/mingw/syscall.goc
diff --git a/src/pkg/runtime/mprof.cgo b/src/pkg/runtime/mprof.goc
index 61a5132b7..61a5132b7 100644
--- a/src/pkg/runtime/mprof.cgo
+++ b/src/pkg/runtime/mprof.goc
diff --git a/src/pkg/runtime/reflect.cgo b/src/pkg/runtime/reflect.goc
index 51222f1c4..51222f1c4 100644
--- a/src/pkg/runtime/reflect.cgo
+++ b/src/pkg/runtime/reflect.goc
diff --git a/src/pkg/runtime/runtime1.cgo b/src/pkg/runtime/runtime1.goc
index 7e5f323c1..7e5f323c1 100644
--- a/src/pkg/runtime/runtime1.cgo
+++ b/src/pkg/runtime/runtime1.goc
diff --git a/src/pkg/runtime/sema.cgo b/src/pkg/runtime/sema.goc
index 71395ce77..71395ce77 100644
--- a/src/pkg/runtime/sema.cgo
+++ b/src/pkg/runtime/sema.goc
diff --git a/src/pkg/runtime/sigqueue.cgo b/src/pkg/runtime/sigqueue.goc
index 46a3b1274..46a3b1274 100644
--- a/src/pkg/runtime/sigqueue.cgo
+++ b/src/pkg/runtime/sigqueue.goc
diff --git a/src/pkg/runtime/string.cgo b/src/pkg/runtime/string.goc
index 103ac329b..103ac329b 100644
--- a/src/pkg/runtime/string.cgo
+++ b/src/pkg/runtime/string.goc