libgo/runtime: return 0, not NULL, from main

Reviewed-on: https://go-review.googlesource.com/13421

From-SVN: r227673
This commit is contained in:
Ian Lance Taylor 2015-09-11 03:12:28 +00:00
parent 5ece4d05ba
commit 5dbd3b8045
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
9bac6243d2252b2d043243d6ab1123ba7e90fa53 352617bfe0a880febf5d2a87e89ea439c742ba18
The first line of this file holds the git revision number of the last The first line of this file holds the git revision number of the last
merge done from the gofrontend repository. merge done from the gofrontend repository.

View File

@ -38,7 +38,7 @@ main (int argc, char **argv)
runtime_isarchive = false; runtime_isarchive = false;
if (runtime_isstarted) if (runtime_isstarted)
return NULL; return 0;
runtime_isstarted = true; runtime_isstarted = true;
runtime_check (); runtime_check ();