diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-09-11 03:12:28 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-09-11 03:12:28 +0000 |
commit | 2a7af44e31dfe477df6c760a3026ff4afe91fc25 (patch) | |
tree | 1d9904676ad8ef33a7e70256b91134cac1e2d8ee /libgo | |
parent | 9d0a386c82aa4e10541ef666289c0c1cb930602c (diff) | |
download | gcc-2a7af44e31dfe477df6c760a3026ff4afe91fc25.tar.gz |
libgo/runtime: return 0, not NULL, from main
Reviewed-on: https://go-review.googlesource.com/13421
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227673 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo')
-rw-r--r-- | libgo/runtime/go-main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/runtime/go-main.c b/libgo/runtime/go-main.c index 8e9ceab9f3a..026469b2377 100644 --- a/libgo/runtime/go-main.c +++ b/libgo/runtime/go-main.c @@ -38,7 +38,7 @@ main (int argc, char **argv) runtime_isarchive = false; if (runtime_isstarted) - return NULL; + return 0; runtime_isstarted = true; runtime_check (); |