trivial diff: use standard arguments to exit()

Zoltan Somogyi zs at cs.mu.OZ.AU
Wed Jul 8 15:59:20 AEST 1998


util/mkinit.c:
	Use standard arguments to exit().

Zoltan.

cvs diff: Diffing util
Index: util/mkinit.c
===================================================================
RCS file: /home/mercury1/repository/mercury/util/mkinit.c,v
retrieving revision 1.35
diff -u -u -r1.35 mkinit.c
--- mkinit.c	1998/07/06 09:47:21	1.35
+++ mkinit.c	1998/07/08 06:22:50
@@ -244,10 +244,10 @@
 		fputs("/* Force syntax error, since there were */\n", stdout);
 		fputs("/* errors in the generation of this file */\n", stdout);
 		fputs("#error \"You need to remake this file\"\n", stdout);
-		exit(1);
+		return EXIT_FAILURE;
 	}
 
-	exit(0);
+	return EXIT_SUCCESS;
 }
 
 /*---------------------------------------------------------------------------*/



More information about the developers mailing list