summaryrefslogtreecommitdiff
path: root/usr.bin/make/parse.c
diff options
context:
space:
mode:
authorrillig <rillig@NetBSD.org>2020-09-06 19:34:36 +0000
committerrillig <rillig@NetBSD.org>2020-09-06 19:34:36 +0000
commit933fd04e46dac6ebfa1d161fbe14eef474b8cb10 (patch)
tree517f26d84bd202ae81137211d0a321af0979016c /usr.bin/make/parse.c
parent17de206301ec1ef27538a50fb68268c84f35c575 (diff)
make(1): add const for Parse_IsVar
Diffstat (limited to 'usr.bin/make/parse.c')
-rw-r--r--usr.bin/make/parse.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/make/parse.c b/usr.bin/make/parse.c
index 19d02c48aaf..12a8e098b34 100644
--- a/usr.bin/make/parse.c
+++ b/usr.bin/make/parse.c
@@ -1,4 +1,4 @@
-/* $NetBSD: parse.c,v 1.285 2020/09/05 19:11:16 rillig Exp $ */
+/* $NetBSD: parse.c,v 1.286 2020/09/06 19:34:36 rillig Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1993
@@ -69,14 +69,14 @@
*/
#ifndef MAKE_NATIVE
-static char rcsid[] = "$NetBSD: parse.c,v 1.285 2020/09/05 19:11:16 rillig Exp $";
+static char rcsid[] = "$NetBSD: parse.c,v 1.286 2020/09/06 19:34:36 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.285 2020/09/05 19:11:16 rillig Exp $");
+__RCSID("$NetBSD: parse.c,v 1.286 2020/09/06 19:34:36 rillig Exp $");
#endif
#endif /* not lint */
#endif
@@ -1751,7 +1751,7 @@ out:
*---------------------------------------------------------------------
*/
Boolean
-Parse_IsVar(char *line)
+Parse_IsVar(const char *line)
{
Boolean wasSpace = FALSE; /* set TRUE if found a space */
char ch;