Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/gpib Make compile with options DEBUG.



details:   https://anonhg.NetBSD.org/src/rev/e94f05ad8db1
branches:  trunk
changeset: 747376:e94f05ad8db1
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sat Sep 12 18:41:05 2009 +0000

description:
Make compile with options DEBUG.

diffstat:

 sys/dev/gpib/cs80bus.c |  6 ++++--
 sys/dev/gpib/gpib.c    |  6 ++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

diffs (56 lines):

diff -r 843a48ac499f -r e94f05ad8db1 sys/dev/gpib/cs80bus.c
--- a/sys/dev/gpib/cs80bus.c    Sat Sep 12 18:38:00 2009 +0000
+++ b/sys/dev/gpib/cs80bus.c    Sat Sep 12 18:41:05 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cs80bus.c,v 1.14 2009/05/12 14:21:58 cegger Exp $      */
+/*     $NetBSD: cs80bus.c,v 1.15 2009/09/12 18:41:05 tsutsui Exp $     */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cs80bus.c,v 1.14 2009/05/12 14:21:58 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cs80bus.c,v 1.15 2009/09/12 18:41:05 tsutsui Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -41,7 +41,9 @@
 #include <dev/gpib/gpibvar.h>
 #include <dev/gpib/cs80busvar.h>
 
+#ifndef DEBUG
 #define DEBUG
+#endif
 
 #ifdef DEBUG
 int cs80busdebug = 0xff;
diff -r 843a48ac499f -r e94f05ad8db1 sys/dev/gpib/gpib.c
--- a/sys/dev/gpib/gpib.c       Sat Sep 12 18:38:00 2009 +0000
+++ b/sys/dev/gpib/gpib.c       Sat Sep 12 18:41:05 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: gpib.c,v 1.18 2009/09/12 18:38:00 tsutsui Exp $        */
+/*     $NetBSD: gpib.c,v 1.19 2009/09/12 18:41:05 tsutsui Exp $        */
 
 /*-
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gpib.c,v 1.18 2009/09/12 18:38:00 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gpib.c,v 1.19 2009/09/12 18:41:05 tsutsui Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -46,7 +46,9 @@
 
 #include "locators.h"
 
+#ifndef DEBUG
 #define DEBUG
+#endif
 
 #ifdef DEBUG
 int gpibdebug = 0xff;



Home | Main Index | Thread Index | Old Index