Module Name: src
Committed By: rillig
Date: Sat Oct 31 12:59:28 UTC 2020
Modified Files:
src/usr.bin/make: var.c
Log Message:
make(1): fix type of ParseModifierPart parameter delim
To generate a diff of this commit:
cvs rdiff -u -r1.620 -r1.621 src/usr.bin/make/var.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/var.c
diff -u src/usr.bin/make/var.c:1.620 src/usr.bin/make/var.c:1.621
--- src/usr.bin/make/var.c:1.620 Sat Oct 31 12:57:39 2020
+++ src/usr.bin/make/var.c Sat Oct 31 12:59:28 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: var.c,v 1.620 2020/10/31 12:57:39 rillig Exp $ */
+/* $NetBSD: var.c,v 1.621 2020/10/31 12:59:28 rillig Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1993
@@ -129,7 +129,7 @@
#include "metachar.h"
/* "@(#)var.c 8.3 (Berkeley) 3/19/94" */
-MAKE_RCSID("$NetBSD: var.c,v 1.620 2020/10/31 12:57:39 rillig Exp $");
+MAKE_RCSID("$NetBSD: var.c,v 1.621 2020/10/31 12:59:28 rillig Exp $");
#define VAR_DEBUG1(fmt, arg1) DEBUG1(VAR, fmt, arg1)
#define VAR_DEBUG2(fmt, arg1, arg2) DEBUG2(VAR, fmt, arg1, arg2)
@@ -1871,7 +1871,7 @@ IsEscapedModifierPart(const char *p, cha
static VarParseResult
ParseModifierPart(
const char **pp, /* The parsing position, updated upon return */
- int delim, /* Parsing stops at this delimiter */
+ char delim, /* Parsing stops at this delimiter */
VarEvalFlags eflags, /* Flags for evaluating nested variables;
* if VARE_WANTRES is not set, the text is
* only parsed */