diff options
author | Peter Mundy <go.peter.90@gmail.com> | 2010-07-26 16:21:27 -0700 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2010-07-26 16:21:27 -0700 |
commit | 036584395df8c9dd3f889c4e9cb8656a5c6f2d93 (patch) | |
tree | 81e47f6ec2f3c7795167494257378517917c6457 | |
parent | 5ee02eef4ce50344ee237821da3a0dbe1463dc1b (diff) | |
download | go-036584395df8c9dd3f889c4e9cb8656a5c6f2d93.tar.gz go-036584395df8c9dd3f889c4e9cb8656a5c6f2d93.zip |
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
https://golang.org/cl/1868047
-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 a4489213f6..385b885855 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); } |