Module Name:    src
Committed By:   rillig
Date:           Mon Apr 12 18:53:51 UTC 2021

Modified Files:
        src/usr.bin/make: var.c

Log Message:
make: spell SysV in mixed case

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.925 -r1.926 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.925 src/usr.bin/make/var.c:1.926
--- src/usr.bin/make/var.c:1.925	Mon Apr 12 18:48:00 2021
+++ src/usr.bin/make/var.c	Mon Apr 12 18:53:51 2021
@@ -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 @@ ModifyWord_NoMatch(Substring word, SepBu
 }
 
 #ifdef SYSVVARSUB
-struct ModifyWord_SYSVSubstArgs {
+struct ModifyWord_SysVSubstArgs {
 	GNode *scope;
 	Substring lhsPrefix;
 	bool lhsPercent;
@@ -1451,9 +1451,9 @@ struct ModifyWord_SYSVSubstArgs {
 
 /* 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 @@ ApplyModifier_SysV(const char **pp, ModC
 	VarParseResult res;
 	LazyBuf lhsBuf, rhsBuf;
 	FStr rhs;
-	struct ModifyWord_SYSVSubstArgs args;
+	struct ModifyWord_SysVSubstArgs args;
 	Substring lhs;
 	const char *lhsSuffix;
 
@@ -3642,7 +3642,7 @@ ApplyModifier_SysV(const char **pp, ModC
 	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);

Reply via email to