Module Name: src
Committed By: rillig
Date: Sun Sep 13 05:56:32 UTC 2020
Modified Files:
src/usr.bin/make: main.c
Log Message:
make(1): consense documentation for Fatal
To generate a diff of this commit:
cvs rdiff -u -r1.333 -r1.334 src/usr.bin/make/main.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/make/main.c
diff -u src/usr.bin/make/main.c:1.333 src/usr.bin/make/main.c:1.334
--- src/usr.bin/make/main.c:1.333 Sat Sep 12 15:15:51 2020
+++ src/usr.bin/make/main.c Sun Sep 13 05:56:32 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: main.c,v 1.333 2020/09/12 15:15:51 rillig Exp $ */
+/* $NetBSD: main.c,v 1.334 2020/09/13 05:56:32 rillig Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1993
@@ -69,7 +69,7 @@
*/
#ifndef MAKE_NATIVE
-static char rcsid[] = "$NetBSD: main.c,v 1.333 2020/09/12 15:15:51 rillig Exp $";
+static char rcsid[] = "$NetBSD: main.c,v 1.334 2020/09/13 05:56:32 rillig Exp $";
#else
#include <sys/cdefs.h>
#ifndef lint
@@ -81,7 +81,7 @@ __COPYRIGHT("@(#) Copyright (c) 1988, 19
#if 0
static char sccsid[] = "@(#)main.c 8.3 (Berkeley) 3/19/94";
#else
-__RCSID("$NetBSD: main.c,v 1.333 2020/09/12 15:15:51 rillig Exp $");
+__RCSID("$NetBSD: main.c,v 1.334 2020/09/13 05:56:32 rillig Exp $");
#endif
#endif /* not lint */
#endif
@@ -1727,17 +1727,9 @@ Error(const char *fmt, ...)
}
}
-/*-
- * Fatal --
- * Produce a Fatal error message. If jobs are running, waits for them
- * to finish.
- *
- * Results:
- * None
+/* Produce a Fatal error message, then exit immediately.
*
- * Side Effects:
- * The program exits
- */
+ * If jobs are running, waits for them to finish. */
/* VARARGS */
void
Fatal(const char *fmt, ...)