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: spell SysV in mixed case
details: https://anonhg.NetBSD.org/src/rev/7f9f614b3f2c
branches: trunk
changeset: 1020453:7f9f614b3f2c
user: rillig <rillig%NetBSD.org@localhost>
date: Mon Apr 12 18:53:51 2021 +0000
description:
make: spell SysV in mixed case
No functional change.
diffstat:
usr.bin/make/var.c | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diffs (57 lines):
diff -r 5cf9019b6564 -r 7f9f614b3f2c usr.bin/make/var.c
--- a/usr.bin/make/var.c Mon Apr 12 18:48:00 2021 +0000
+++ b/usr.bin/make/var.c Mon Apr 12 18:53:51 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: var.c,v 1.925 2021/04/12 18:48:00 rillig Exp $ */
+/* $NetBSD: var.c,v 1.926 2021/04/12 18:53:51 rillig Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1993
@@ -140,7 +140,7 @@
#include "metachar.h"
/* "@(#)var.c 8.3 (Berkeley) 3/19/94" */
-MAKE_RCSID("$NetBSD: var.c,v 1.925 2021/04/12 18:48:00 rillig Exp $");
+MAKE_RCSID("$NetBSD: var.c,v 1.926 2021/04/12 18:53:51 rillig Exp $");
/*
* Variables are defined using one of the VAR=value assignments. Their
@@ -1441,7 +1441,7 @@
}
#ifdef SYSVVARSUB
-struct ModifyWord_SYSVSubstArgs {
+struct ModifyWord_SysVSubstArgs {
GNode *scope;
Substring lhsPrefix;
bool lhsPercent;
@@ -1451,9 +1451,9 @@
/* Callback for ModifyWords to implement the :%.from=%.to modifier. */
static void
-ModifyWord_SYSVSubst(Substring word, SepBuf *buf, void *data)
+ModifyWord_SysVSubst(Substring word, SepBuf *buf, void *data)
{
- const struct ModifyWord_SYSVSubstArgs *args = data;
+ const struct ModifyWord_SysVSubstArgs *args = data;
FStr rhs;
char *rhsExp;
const char *percent;
@@ -3587,7 +3587,7 @@
VarParseResult res;
LazyBuf lhsBuf, rhsBuf;
FStr rhs;
- struct ModifyWord_SYSVSubstArgs args;
+ struct ModifyWord_SysVSubstArgs args;
Substring lhs;
const char *lhsSuffix;
@@ -3642,7 +3642,7 @@
args.lhsSuffix = Substring_Init(lhsSuffix, lhs.end);
args.rhs = rhs.str;
- ModifyWords(ch, ModifyWord_SYSVSubst, &args, ch->oneBigWord);
+ ModifyWords(ch, ModifyWord_SysVSubst, &args, ch->oneBigWord);
done:
LazyBuf_Done(&lhsBuf);
Home |
Main Index |
Thread Index |
Old Index