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: use standard form of statement mac...



details:   https://anonhg.NetBSD.org/src/rev/08c3028523f8
branches:  trunk
changeset: 953747:08c3028523f8
user:      rillig <rillig%NetBSD.org@localhost>
date:      Fri Mar 19 08:23:39 2021 +0000

description:
lint: use standard form of statement macro for debug_node

No functional change.

diffstat:

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

diffs (18 lines):

diff -r 01399db10295 -r 08c3028523f8 usr.bin/xlint/lint1/externs1.h
--- a/usr.bin/xlint/lint1/externs1.h    Fri Mar 19 08:21:26 2021 +0000
+++ b/usr.bin/xlint/lint1/externs1.h    Fri Mar 19 08:23:39 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: externs1.h,v 1.78 2021/03/19 08:19:24 rillig Exp $     */
+/*     $NetBSD: externs1.h,v 1.79 2021/03/19 08:23:39 rillig Exp $     */
 
 /*
  * Copyright (c) 1994, 1995 Jochen Pohl
@@ -227,7 +227,7 @@
 #ifdef DEBUG
 extern void    debug_node(const tnode_t *, int);
 #else
-#define debug_node(tn, indent) (void)0
+#define debug_node(tn, indent) do { } while (false)
 #endif
 
 /*



Home | Main Index | Thread Index | Old Index