Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/make make(1): consense documentation for Fatal



details:   https://anonhg.NetBSD.org/src/rev/9cc80ca6b3ff
branches:  trunk
changeset: 938662:9cc80ca6b3ff
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sun Sep 13 05:56:32 2020 +0000

description:
make(1): consense documentation for Fatal

diffstat:

 usr.bin/make/main.c |  18 +++++-------------
 1 files changed, 5 insertions(+), 13 deletions(-)

diffs (47 lines):

diff -r e54c33ca51c1 -r 9cc80ca6b3ff usr.bin/make/main.c
--- a/usr.bin/make/main.c       Sun Sep 13 05:55:39 2020 +0000
+++ b/usr.bin/make/main.c       Sun Sep 13 05:56:32 2020 +0000
@@ -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 @@
 #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 @@
        }
 }
 
-/*-
- * Fatal --
- *     Produce a Fatal error message. If jobs are running, waits for them
- *     to finish.
+/* Produce a Fatal error message, then exit immediately.
  *
- * Results:
- *     None
- *
- * Side Effects:
- *     The program exits
- */
+ * If jobs are running, waits for them to finish. */
 /* VARARGS */
 void
 Fatal(const char *fmt, ...)



Home | Main Index | Thread Index | Old Index