Module Name: src
Committed By: rillig
Date: Fri Sep 25 16:28:29 UTC 2020
Modified Files:
src/usr.bin/make: suff.c
Log Message:
make(1): don't use reserved names in type names
To generate a diff of this commit:
cvs rdiff -u -r1.162 -r1.163 src/usr.bin/make/suff.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/suff.c
diff -u src/usr.bin/make/suff.c:1.162 src/usr.bin/make/suff.c:1.163
--- src/usr.bin/make/suff.c:1.162 Fri Sep 25 16:27:15 2020
+++ src/usr.bin/make/suff.c Fri Sep 25 16:28:29 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: suff.c,v 1.162 2020/09/25 16:27:15 rillig Exp $ */
+/* $NetBSD: suff.c,v 1.163 2020/09/25 16:28:29 rillig Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1993
@@ -126,7 +126,7 @@
#include "dir.h"
/* "@(#)suff.c 8.4 (Berkeley) 3/21/94" */
-MAKE_RCSID("$NetBSD: suff.c,v 1.162 2020/09/25 16:27:15 rillig Exp $");
+MAKE_RCSID("$NetBSD: suff.c,v 1.163 2020/09/25 16:28:29 rillig Exp $");
#define SUFF_DEBUG0(fmt) \
if (!DEBUG(SUFF)) (void) 0; else fprintf(debug_file, fmt)
@@ -186,11 +186,11 @@ typedef struct Suff {
/*
* Structure used in the search for implied sources.
*/
-typedef struct _Src {
+typedef struct Src {
char *file; /* The file to look for */
char *pref; /* Prefix from which file was formed */
Suff *suff; /* The suffix on the file */
- struct _Src *parent; /* The Src for which this is a source */
+ struct Src *parent; /* The Src for which this is a source */
GNode *node; /* The node describing the file */
int children; /* Count of existing children (so we don't free
* this thing too early or never nuke it) */