libgo/runtime: return 0, not NULL, from main
authorIan Lance Taylor <ian@gcc.gnu.org>
Fri, 11 Sep 2015 03:12:28 +0000 (03:12 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Fri, 11 Sep 2015 03:12:28 +0000 (03:12 +0000)
    Reviewed-on: https://go-review.googlesource.com/13421

From-SVN: r227673

gcc/go/gofrontend/MERGE
libgo/runtime/go-main.c

index 307348932604cfee4438188dae422f657d6923d4..6c22440c234a20a908e46d7b3d63f9aea2df7768 100644 (file)
@@ -1,4 +1,4 @@
-9bac6243d2252b2d043243d6ab1123ba7e90fa53
+352617bfe0a880febf5d2a87e89ea439c742ba18
 
 The first line of this file holds the git revision number of the last
 merge done from the gofrontend repository.
index 8e9ceab9f3a4531d6a2c2d5e0a1086c5d3cf8b9d..026469b2377b5294287b809ba03f5f35eb4c5f7b 100644 (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 ();