diff options
author | Peter Mundy <go.peter.90@gmail.com> | 2010-07-26 16:21:27 -0700 |
---|---|---|
committer | Peter Mundy <go.peter.90@gmail.com> | 2010-07-26 16:21:27 -0700 |
commit | 5785f9a43d64eed9466d7f11e3b28eba2421dd15 (patch) | |
tree | 17b45cb8c84d4eb777d78f6a52532db6a7164f1a /src/pkg | |
parent | 604c64d1f9274fba5fb1c000c091f5a066c724c8 (diff) | |
download | go-5785f9a43d64eed9466d7f11e3b28eba2421dd15.tar.gz |
runtime: fix goc2c for rename to goc2c and *.goc
Release 2010-04-27. runtime: rename cgo2c, *.cgo to goc2c, *.goc
to avoid confusion with real cgo.
R=rsc
CC=golang-dev
http://codereview.appspot.com/1868047
Committer: Russ Cox <rsc@golang.org>
Diffstat (limited to 'src/pkg')
-rw-r--r-- | src/pkg/runtime/goc2c.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/runtime/goc2c.c b/src/pkg/runtime/goc2c.c index a4489213f..385b88585 100644 --- a/src/pkg/runtime/goc2c.c +++ b/src/pkg/runtime/goc2c.c @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -/* Translate a .cgo file into a .c file. A .cgo file is a combination +/* Translate a .goc file into a .c file. A .goc file is a combination of a limited form of Go with C. */ /* @@ -669,7 +669,7 @@ process_file(void) static void usage(void) { - fprintf(stderr, "Usage: cgo2c [--6g | --gc] [file]\n"); + fprintf(stderr, "Usage: goc2c [--6g | --gc] [file]\n"); exit(1); } |