Skip to content

Commit

Permalink
libgo/runtime: return 0, not NULL, from main
Browse files Browse the repository at this point in the history
Change-Id: I5f905bf31ac7a418a38f0f5817d65f72851120ac
Reviewed-on: https://go-review.googlesource.com/13421
Reviewed-by: Ian Lance Taylor <[email protected]>
  • Loading branch information
axw authored and ianlancetaylor committed Sep 11, 2015
1 parent 9bac624 commit 352617b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libgo/runtime/go-main.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ main (int argc, char **argv)
runtime_isarchive = false;

if (runtime_isstarted)
return NULL;
return 0;
runtime_isstarted = true;

runtime_check ();
Expand Down

0 comments on commit 352617b

Please sign in to comment.