Module Name: src
Committed By: rillig
Date: Sat Jul 4 10:49:09 UTC 2020
Modified Files:
src/usr.bin/make: var.c
Log Message:
make(1): remove unnecessary _t suffix from VarLoop type
To generate a diff of this commit:
cvs rdiff -u -r1.250 -r1.251 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.250 src/usr.bin/make/var.c:1.251
--- src/usr.bin/make/var.c:1.250 Sat Jul 4 10:46:31 2020
+++ src/usr.bin/make/var.c Sat Jul 4 10:49:09 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: var.c,v 1.250 2020/07/04 10:46:31 rillig Exp $ */
+/* $NetBSD: var.c,v 1.251 2020/07/04 10:49:09 rillig Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1993
@@ -69,14 +69,14 @@
*/
#ifndef MAKE_NATIVE
-static char rcsid[] = "$NetBSD: var.c,v 1.250 2020/07/04 10:46:31 rillig Exp $";
+static char rcsid[] = "$NetBSD: var.c,v 1.251 2020/07/04 10:49:09 rillig Exp $";
#else
#include <sys/cdefs.h>
#ifndef lint
#if 0
static char sccsid[] = "@(#)var.c 8.3 (Berkeley) 3/19/94";
#else
-__RCSID("$NetBSD: var.c,v 1.250 2020/07/04 10:46:31 rillig Exp $");
+__RCSID("$NetBSD: var.c,v 1.251 2020/07/04 10:49:09 rillig Exp $");
#endif
#endif /* not lint */
#endif
@@ -278,7 +278,7 @@ typedef struct {
char *str; /* string to expand */
int strLen;
Varf_Flags flags;
-} VarLoop_t;
+} VarLoop;
#ifndef NO_REGEX
/* struct passed as 'void *' to VarRESubstitute() for ":C///" */
@@ -1560,7 +1560,7 @@ VarLoopExpand(GNode *ctx MAKE_ATTR_UNUSE
char *word, Boolean addSpace, Buffer *buf,
void *data)
{
- VarLoop_t *loop = data;
+ VarLoop *loop = data;
char *s;
int slen;
@@ -2212,7 +2212,7 @@ typedef struct {
/* :@var@...${var}...@ */
static Boolean
ApplyModifier_At(ApplyModifiersState *st) {
- VarLoop_t loop;
+ VarLoop loop;
VarPattern_Flags vflags = VAR_NOSUBST;
st->cp = ++(st->tstr);