Source-Changes-HG archive

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

[src/isaki-audio2]: src/sys/dev/pci Use __nothing macro.



details:   https://anonhg.NetBSD.org/src/rev/ee27548fa3ad
branches:  isaki-audio2
changeset: 450956:ee27548fa3ad
user:      isaki <isaki%NetBSD.org@localhost>
date:      Wed May 01 09:41:50 2019 +0000

description:
Use __nothing macro.

diffstat:

 sys/dev/pci/emuxki.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 8e00f7a65bfc -r ee27548fa3ad sys/dev/pci/emuxki.c
--- a/sys/dev/pci/emuxki.c      Wed May 01 06:34:46 2019 +0000
+++ b/sys/dev/pci/emuxki.c      Wed May 01 09:41:50 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: emuxki.c,v 1.67.2.4 2019/05/01 06:34:46 isaki Exp $    */
+/*     $NetBSD: emuxki.c,v 1.67.2.5 2019/05/01 09:41:50 isaki Exp $    */
 
 /*-
  * Copyright (c) 2001, 2007 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: emuxki.c,v 1.67.2.4 2019/05/01 06:34:46 isaki Exp $");
+__KERNEL_RCSID(0, "$NetBSD: emuxki.c,v 1.67.2.5 2019/05/01 09:41:50 isaki Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -71,8 +71,8 @@
 # define DPRINTF(fmt...)       do { if (emudebug) printf(fmt); } while (0)
 # define DPRINTFN(n,fmt...)    do { if (emudebug>=(n)) printf(fmt); } while (0)
 #else
-# define DPRINTF(fmt...)       do { } while (0)
-# define DPRINTFN(n,fmt...)    do { } while (0)
+# define DPRINTF(fmt...)       __nothing
+# define DPRINTFN(n,fmt...)    __nothing
 #endif
 
 /*



Home | Main Index | Thread Index | Old Index