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): fix type of ParseModifierPart paramete...



details:   https://anonhg.NetBSD.org/src/rev/e370b9f53efa
branches:  trunk
changeset: 945494:e370b9f53efa
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sat Oct 31 12:59:28 2020 +0000

description:
make(1): fix type of ParseModifierPart parameter delim

diffstat:

 usr.bin/make/var.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r cf7ba2d21fdc -r e370b9f53efa usr.bin/make/var.c
--- a/usr.bin/make/var.c        Sat Oct 31 12:57:39 2020 +0000
+++ b/usr.bin/make/var.c        Sat Oct 31 12:59:28 2020 +0000
@@ -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 @@
 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 */



Home | Main Index | Thread Index | Old Index