Module Name:    src
Committed By:   rillig
Date:           Tue Jul 28 16:45:56 UTC 2020

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

Log Message:
make(1): remove unnecessary struct tag

Identifiers starting with an underscore and an uppercase letter are
reserved for the C implementation.


To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 src/usr.bin/make/for.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/for.c
diff -u src/usr.bin/make/for.c:1.56 src/usr.bin/make/for.c:1.57
--- src/usr.bin/make/for.c:1.56	Tue Jul 28 16:42:22 2020
+++ src/usr.bin/make/for.c	Tue Jul 28 16:45:56 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: for.c,v 1.56 2020/07/28 16:42:22 rillig Exp $	*/
+/*	$NetBSD: for.c,v 1.57 2020/07/28 16:45:56 rillig Exp $	*/
 
 /*
  * Copyright (c) 1992, The Regents of the University of California.
@@ -30,14 +30,14 @@
  */
 
 #ifndef MAKE_NATIVE
-static char rcsid[] = "$NetBSD: for.c,v 1.56 2020/07/28 16:42:22 rillig Exp $";
+static char rcsid[] = "$NetBSD: for.c,v 1.57 2020/07/28 16:45:56 rillig Exp $";
 #else
 #include <sys/cdefs.h>
 #ifndef lint
 #if 0
 static char sccsid[] = "@(#)for.c	8.1 (Berkeley) 6/6/93";
 #else
-__RCSID("$NetBSD: for.c,v 1.56 2020/07/28 16:42:22 rillig Exp $");
+__RCSID("$NetBSD: for.c,v 1.57 2020/07/28 16:45:56 rillig Exp $");
 #endif
 #endif /* not lint */
 #endif
@@ -88,7 +88,7 @@ static int  	  forLevel = 0;  	/* Nestin
 /*
  * State of a for loop.
  */
-typedef struct _For {
+typedef struct {
     Buffer	  buf;			/* Body of loop		*/
     strlist_t     vars;			/* Iteration variables	*/
     strlist_t     items;		/* Substitution items */

Reply via email to