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): remove unused parameter from meta_needed



details:   https://anonhg.NetBSD.org/src/rev/8e9330771829
branches:  trunk
changeset: 946649:8e9330771829
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sat Dec 05 17:46:41 2020 +0000

description:
make(1): remove unused parameter from meta_needed

diffstat:

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

diffs (36 lines):

diff -r 0e78259562cb -r 8e9330771829 usr.bin/make/meta.c
--- a/usr.bin/make/meta.c       Sat Dec 05 17:44:22 2020 +0000
+++ b/usr.bin/make/meta.c       Sat Dec 05 17:46:41 2020 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: meta.c,v 1.156 2020/11/29 21:31:55 rillig Exp $ */
+/*      $NetBSD: meta.c,v 1.157 2020/12/05 17:46:41 rillig Exp $ */
 
 /*
  * Implement 'meta' mode.
@@ -411,7 +411,7 @@
  * Do we need/want a .meta file ?
  */
 static Boolean
-meta_needed(GNode *gn, const char *dname, const char *tname,
+meta_needed(GNode *gn, const char *dname,
            char *objdir_realpath, Boolean verbose)
 {
     struct cached_stat cst;
@@ -485,7 +485,7 @@
     tname = GNode_VarTarget(gn);
 
     /* if this succeeds objdir_realpath is realpath of dname */
-    if (!meta_needed(gn, dname, tname, objdir_realpath, TRUE))
+    if (!meta_needed(gn, dname, objdir_realpath, TRUE))
        goto out;
     dname = objdir_realpath;
 
@@ -1101,7 +1101,7 @@
     tname = GNode_VarTarget(gn);
 
     /* if this succeeds fname3 is realpath of dname */
-    if (!meta_needed(gn, dname, tname, fname3, FALSE))
+    if (!meta_needed(gn, dname, fname3, FALSE))
        goto oodate_out;
     dname = fname3;
 



Home | Main Index | Thread Index | Old Index