]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: fix goc2c for rename to goc2c and *.goc
authorPeter Mundy <go.peter.90@gmail.com>
Mon, 26 Jul 2010 23:21:27 +0000 (16:21 -0700)
committerRuss Cox <rsc@golang.org>
Mon, 26 Jul 2010 23:21:27 +0000 (16:21 -0700)
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

src/pkg/runtime/goc2c.c

index a4489213f6319c9e16af85942e72183a501731a6..385b885855ba14461d36f7a73a7665585ad40ba1 100644 (file)
@@ -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);
 }