diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-02-07 22:24:34 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-02-07 22:24:34 +0000 |
commit | cb8b32f54b7a8c1de0c178db516e07a6b80a611f (patch) | |
tree | dcf3349e5fe19a70901add8869c9d34d8761232b /libgo | |
parent | bc65ac7f87c2bbadba930226e04c06c984fc55c5 (diff) | |
download | gcc-cb8b32f54b7a8c1de0c178db516e07a6b80a611f.tar.gz |
runtime: Change main in goc2c to return int.
From Uros Bizjak.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195868 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo')
-rw-r--r-- | libgo/runtime/goc2c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/runtime/goc2c.c b/libgo/runtime/goc2c.c index f3e8f380928..87db58f50e5 100644 --- a/libgo/runtime/goc2c.c +++ b/libgo/runtime/goc2c.c @@ -633,7 +633,7 @@ usage(void) sysfatal("Usage: goc2c [--go-pkgpath PKGPATH] [--go-prefix PREFIX] [file]\n"); } -void +int main(int argc, char **argv) { char *goarch; |