summaryrefslogtreecommitdiff
path: root/usr.bin/make/parse.c
diff options
context:
space:
mode:
authorrillig <rillig@NetBSD.org>2020-09-13 13:25:07 +0000
committerrillig <rillig@NetBSD.org>2020-09-13 13:25:07 +0000
commit6ba4a6786e7233fbd27f043eb975c7e46b09c418 (patch)
tree7ca069d38f0a67ef1eb0208edb8a45f9e8a108c4 /usr.bin/make/parse.c
parent9efee392eb9cf2904ad3a3c4c74e012877cee957 (diff)
make(1): clean up comments for ParseErrorInternal and ParseMessage
Diffstat (limited to 'usr.bin/make/parse.c')
-rw-r--r--usr.bin/make/parse.c26
1 files changed, 7 insertions, 19 deletions
diff --git a/usr.bin/make/parse.c b/usr.bin/make/parse.c
index 33a3af9be2a..c128b4ba230 100644
--- a/usr.bin/make/parse.c
+++ b/usr.bin/make/parse.c
@@ -1,4 +1,4 @@
-/* $NetBSD: parse.c,v 1.300 2020/09/13 13:22:29 rillig Exp $ */
+/* $NetBSD: parse.c,v 1.301 2020/09/13 13:25:07 rillig Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1993
@@ -69,14 +69,14 @@
*/
#ifndef MAKE_NATIVE
-static char rcsid[] = "$NetBSD: parse.c,v 1.300 2020/09/13 13:22:29 rillig Exp $";
+static char rcsid[] = "$NetBSD: parse.c,v 1.301 2020/09/13 13:25:07 rillig Exp $";
#else
#include <sys/cdefs.h>
#ifndef lint
#if 0
static char sccsid[] = "@(#)parse.c 8.3 (Berkeley) 3/19/94";
#else
-__RCSID("$NetBSD: parse.c,v 1.300 2020/09/13 13:22:29 rillig Exp $");
+__RCSID("$NetBSD: parse.c,v 1.301 2020/09/13 13:25:07 rillig Exp $");
#endif
#endif /* not lint */
#endif
@@ -674,16 +674,6 @@ ParseVErrorInternal(FILE *f, const char *cfname, size_t clineno, int type,
}
}
-/*-
- * ParseErrorInternal --
- * Error function
- *
- * Results:
- * None
- *
- * Side Effects:
- * None
- */
static void
ParseErrorInternal(const char *cfname, size_t clineno, int type,
const char *fmt, ...)
@@ -734,13 +724,11 @@ Parse_Error(int type, const char *fmt, ...)
}
-/*
- * ParseMessage
- * Parse a .info .warning or .error directive
+/* Parse a .info .warning or .error directive.
*
- * The input is the line minus the ".". We substitute
- * variables, print the message and exit(1) (for .error) or just print
- * a warning if the directive is malformed.
+ * The input is the line minus the ".". We substitute variables, print the
+ * message and exit(1) (for .error) or just print a warning if the directive
+ * is malformed.
*/
static Boolean
ParseMessage(char *line)