Skip to content

Commit 352617b

Browse files
axwianlancetaylor
authored andcommitted
libgo/runtime: return 0, not NULL, from main
Change-Id: I5f905bf31ac7a418a38f0f5817d65f72851120ac Reviewed-on: https://go-review.googlesource.com/13421 Reviewed-by: Ian Lance Taylor <[email protected]>
1 parent 9bac624 commit 352617b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libgo/runtime/go-main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ main (int argc, char **argv)
3838
runtime_isarchive = false;
3939

4040
if (runtime_isstarted)
41-
return NULL;
41+
return 0;
4242
runtime_isstarted = true;
4343

4444
runtime_check ();

0 commit comments

Comments
 (0)