Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbarm/fdt Use do { } while (/* CONSTCOND */ 0) for...



details:   https://anonhg.NetBSD.org/src/rev/22713dd44679
branches:  trunk
changeset: 433479:22713dd44679
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sun Sep 16 11:24:29 2018 +0000

description:
Use do { } while (/* CONSTCOND */ 0) for nop VPRINTF

diffstat:

 sys/arch/evbarm/fdt/fdt_machdep.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 75a941c647d7 -r 22713dd44679 sys/arch/evbarm/fdt/fdt_machdep.c
--- a/sys/arch/evbarm/fdt/fdt_machdep.c Sun Sep 16 10:29:39 2018 +0000
+++ b/sys/arch/evbarm/fdt/fdt_machdep.c Sun Sep 16 11:24:29 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fdt_machdep.c,v 1.36 2018/09/14 22:08:49 jakllsch Exp $ */
+/* $NetBSD: fdt_machdep.c,v 1.37 2018/09/16 11:24:29 skrll Exp $ */
 
 /*-
  * Copyright (c) 2015-2017 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fdt_machdep.c,v 1.36 2018/09/14 22:08:49 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fdt_machdep.c,v 1.37 2018/09/16 11:24:29 skrll Exp $");
 
 #include "opt_machdep.h"
 #include "opt_bootconfig.h"
@@ -160,7 +160,7 @@
 #ifdef VERBOSE_INIT_ARM
 #define VPRINTF(...)   printf(__VA_ARGS__)
 #else
-#define VPRINTF(...)
+#define VPRINTF(...)   do { } while (/* CONSTCOND */ 0)
 #endif
 
 /*



Home | Main Index | Thread Index | Old Index