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

Backport from mainline:

	libgo/runtime: return 0, not NULL, from main
    
	Reviewed-on: https://go-review.googlesource.com/13421

From-SVN: r228469
This commit is contained in:
Marek Polacek 2015-10-05 10:21:45 +00:00
parent c4c06ac84f
commit 735f90cee7
1 changed files with 1 additions and 1 deletions

View File

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