Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/make add const



details:   https://anonhg.NetBSD.org/src/rev/5688c88522dc
branches:  trunk
changeset: 982827:5688c88522dc
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Apr 27 15:19:25 2021 +0000

description:
add const

diffstat:

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

diffs (27 lines):

diff -r 2b45a60acc16 -r 5688c88522dc usr.bin/make/compat.c
--- a/usr.bin/make/compat.c     Tue Apr 27 14:48:28 2021 +0000
+++ b/usr.bin/make/compat.c     Tue Apr 27 15:19:25 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: compat.c,v 1.226 2021/04/04 10:05:08 rillig Exp $      */
+/*     $NetBSD: compat.c,v 1.227 2021/04/27 15:19:25 christos Exp $    */
 
 /*
  * Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
@@ -96,7 +96,7 @@
 #include "pathnames.h"
 
 /*     "@(#)compat.c   8.2 (Berkeley) 3/19/94" */
-MAKE_RCSID("$NetBSD: compat.c,v 1.226 2021/04/04 10:05:08 rillig Exp $");
+MAKE_RCSID("$NetBSD: compat.c,v 1.227 2021/04/27 15:19:25 christos Exp $");
 
 static GNode *curTarg = NULL;
 static pid_t compatChild;
@@ -161,7 +161,7 @@
 }
 
 static void
-DebugFailedTarget(const char *cmd, GNode *gn)
+DebugFailedTarget(const char *cmd, const GNode *gn)
 {
        const char *p = cmd;
        debug_printf("\n*** Failed target:  %s\n*** Failed command: ",



Home | Main Index | Thread Index | Old Index