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(1): don't use reserved names in type names



details:   https://anonhg.NetBSD.org/src/rev/500320677b5d
branches:  trunk
changeset: 944278:500320677b5d
user:      rillig <rillig%NetBSD.org@localhost>
date:      Fri Sep 25 16:28:29 2020 +0000

description:
make(1): don't use reserved names in type names

diffstat:

 usr.bin/make/suff.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (32 lines):

diff -r 120b5dfdbd60 -r 500320677b5d usr.bin/make/suff.c
--- a/usr.bin/make/suff.c       Fri Sep 25 16:27:15 2020 +0000
+++ b/usr.bin/make/suff.c       Fri Sep 25 16:28:29 2020 +0000
@@ -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 @@
 /*
  * 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) */



Home | Main Index | Thread Index | Old Index