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): fix type of parseKeywords.op



details:   https://anonhg.NetBSD.org/src/rev/9b6390eac5f0
branches:  trunk
changeset: 944001:9b6390eac5f0
user:      rillig <rillig%NetBSD.org@localhost>
date:      Mon Sep 14 16:27:07 2020 +0000

description:
make(1): fix type of parseKeywords.op

diffstat:

 usr.bin/make/parse.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 4cbb0944eb62 -r 9b6390eac5f0 usr.bin/make/parse.c
--- a/usr.bin/make/parse.c      Mon Sep 14 16:23:32 2020 +0000
+++ b/usr.bin/make/parse.c      Mon Sep 14 16:27:07 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: parse.c,v 1.311 2020/09/14 16:23:32 rillig Exp $       */
+/*     $NetBSD: parse.c,v 1.312 2020/09/14 16:27:07 rillig Exp $       */
 
 /*
  * Copyright (c) 1988, 1989, 1990, 1993
@@ -131,7 +131,7 @@
 #include "pathnames.h"
 
 /*     "@(#)parse.c    8.3 (Berkeley) 3/19/94" */
-MAKE_RCSID("$NetBSD: parse.c,v 1.311 2020/09/14 16:23:32 rillig Exp $");
+MAKE_RCSID("$NetBSD: parse.c,v 1.312 2020/09/14 16:27:07 rillig Exp $");
 
 /* types and constants */
 
@@ -273,7 +273,7 @@
 static const struct {
     const char   *name;        /* Name of keyword */
     ParseSpecial  spec;                /* Type when used as a target */
-    int                  op;           /* Operator when used as a source */
+    GNodeType    op;           /* Operator when used as a source */
 } parseKeywords[] = {
 { ".BEGIN",      Begin,        0 },
 { ".DEFAULT",    Default,      0 },



Home | Main Index | Thread Index | Old Index