Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/xlint/lint1 lint: fix definition of debug_node in no...



details:   https://anonhg.NetBSD.org/src/rev/ba04a6b47216
branches:  trunk
changeset: 959646:ba04a6b47216
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sun Feb 21 07:59:17 2021 +0000

description:
lint: fix definition of debug_node in non-debug mode

diffstat:

 usr.bin/xlint/lint1/externs1.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r a17241eb73a2 -r ba04a6b47216 usr.bin/xlint/lint1/externs1.h
--- a/usr.bin/xlint/lint1/externs1.h    Sun Feb 21 07:23:41 2021 +0000
+++ b/usr.bin/xlint/lint1/externs1.h    Sun Feb 21 07:59:17 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: externs1.h,v 1.69 2021/02/21 07:21:57 rillig Exp $     */
+/*     $NetBSD: externs1.h,v 1.70 2021/02/21 07:59:17 rillig Exp $     */
 
 /*
  * Copyright (c) 1994, 1995 Jochen Pohl
@@ -225,7 +225,7 @@
 #ifdef DEBUG
 extern void    debug_node(const tnode_t *, int);
 #else
-#define debug_node(tn) (void)0
+#define debug_node(tn, indent) (void)0
 #endif
 
 /*



Home | Main Index | Thread Index | Old Index